net/mlx5: Set QP timestamp mode to default
authorMaor Gottlieb <maorg@nvidia.com>
Wed, 3 Mar 2021 12:36:16 +0000 (14:36 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 10 Mar 2021 19:01:56 +0000 (11:01 -0800)
commit4806f1e2fee84c053cb68cd5be5817170bf0aab6
treeffc9d0a1ec5b4685df778000ff51d96c9574d966
parent469549e4778a1e5ac4a7c6659c4b1a75a648bfdf
net/mlx5: Set QP timestamp mode to default

QPs which don't care from timestamp mode, should set the ts_format
to default, otherwise the QP creation could be failed if the timestamp
mode is not supported.

Fixes: 2fe8d4b87802 ("RDMA/mlx5: Fail QP creation if the device can not support the CQE TS")
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c
drivers/net/ethernet/mellanox/mlx5/core/ipoib/ipoib.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c
include/linux/mlx5/qp.h