Thread (22 messages) flat view 22 messages, 4 authors, 2021-03-11

Re: [net 13/18] RDMA/mlx5: Fix timestamp default mode

From: Leon Romanovsky <leon@kernel.org>
Date: 2021-03-11 08:58:53
Also in: linux-rdma

On Wed, Mar 10, 2021 at 11:03:37AM -0800, Saeed Mahameed wrote:
From: Maor Gottlieb <redacted>

1. Don't set the ts_format bit to default when it reserved - device is
   running in the old mode (free running).
2. XRC doesn't have a CQ therefore the ts format in the QP
   context should be default / free running.
3. Set ts_format to WQ.

Fixes: 2fe8d4b87802 ("RDMA/mlx5: Fail QP creation if the device can not support the CQE TS")
Signed-off-by: Maor Gottlieb <redacted>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
---
 drivers/infiniband/hw/mlx5/qp.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)
I reviewed it too.

Thanks,
Acked-by: Leon Romanovsky <leonro@nvidia.com>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help