On Wed, Mar 10, 2021 at 11:03:37AM -0800, Saeed Mahameed wrote: > From: Maor Gottlieb <maorg@xxxxxxxxxx> > > 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 <maorg@xxxxxxxxxx> > Signed-off-by: Saeed Mahameed <saeedm@xxxxxxxxxx> > --- > drivers/infiniband/hw/mlx5/qp.c | 18 ++++++++++++++---- > 1 file changed, 14 insertions(+), 4 deletions(-) > I reviewed it too. Thanks, Acked-by: Leon Romanovsky <leonro@xxxxxxxxxx>