linux/drivers/infiniband
Aharon Landau 2fe8d4b878 RDMA/mlx5: Fail QP creation if the device can not support the CQE TS
In ConnectX6Dx device, HW can work in real time timestamp mode according
to the device capabilities per RQ/SQ/QP.

When the flag IB_UVERBS_CQ_FLAGS_TIMESTAMP_COMPLETION is set, the user
expect to get TS on the CQEs in free running format, so we need to fail
the QP creation if the current mode of the device doesn't support it.

Link: https://lore.kernel.org/r/20210209131107.698833-3-leon@kernel.org
Signed-off-by: Aharon Landau <aharonl@nvidia.com>
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-02-16 14:48:47 -04:00
..
core RDMA/cma: Fix error flow in default_roce_mode_store 2021-01-14 12:53:13 -04:00
hw RDMA/mlx5: Fail QP creation if the device can not support the CQE TS 2021-02-16 14:48:47 -04:00
sw RDMA/rxe: Use acquire/release for memory ordering 2020-12-11 19:57:48 -04:00
ulp block/rnbd-clt: Does not request pdu to rtrs-clt 2020-12-16 14:56:09 -07:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00