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

2021-03-10 Thread Saeed Mahameed
From: Maor Gottlieb 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: F

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

2021-03-10 Thread Jason Gunthorpe
On Wed, Mar 10, 2021 at 11:03:37AM -0800, Saeed Mahameed wrote: > From: Maor Gottlieb > > 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

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

2021-03-11 Thread Leon Romanovsky
On Wed, Mar 10, 2021 at 11:03:37AM -0800, Saeed Mahameed wrote: > From: Maor Gottlieb > > 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