On Wed, Mar 10, 2021 at 11:03:37AM -0800, Saeed Mahameed wrote: > From: Maor Gottlieb <ma...@nvidia.com> > > 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 <ma...@nvidia.com> > Signed-off-by: Saeed Mahameed <sae...@nvidia.com> > --- > drivers/infiniband/hw/mlx5/qp.c | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-)
Acked-by: Jason Gunthorpe <j...@nvidia.com> Jason