diff options
author | Aharon Landau <aharonl@nvidia.com> | 2021-02-09 15:11:07 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-02-16 14:48:47 -0400 |
commit | 2fe8d4b87802dcde7fa015229c84bb726f631b4d (patch) | |
tree | 8d3b9d82a7784ddf273626d7385f1e85a89b50e8 /drivers/infiniband/ulp/rtrs/rtrs.c | |
parent | a6a217dddcd544f6b75f0e2a60b6e84c1d494b7e (diff) |
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>
Diffstat (limited to 'drivers/infiniband/ulp/rtrs/rtrs.c')
0 files changed, 0 insertions, 0 deletions