summaryrefslogtreecommitdiff
path: root/drivers/infiniband/ulp/rtrs/rtrs.c
diff options
context:
space:
mode:
authorAharon Landau <aharonl@nvidia.com>2021-02-09 15:11:07 +0200
committerJason Gunthorpe <jgg@nvidia.com>2021-02-16 14:48:47 -0400
commit2fe8d4b87802dcde7fa015229c84bb726f631b4d (patch)
tree8d3b9d82a7784ddf273626d7385f1e85a89b50e8 /drivers/infiniband/ulp/rtrs/rtrs.c
parenta6a217dddcd544f6b75f0e2a60b6e84c1d494b7e (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