diff options
author | 2021-06-14 11:03:37 +0200 | |
---|---|---|
committer | 2021-06-18 13:47:13 -0300 | |
commit | a95fbe2abafdad800cc9a1ee6a08501c6835c8ba (patch) | |
tree | 6fb05ac9ef19b655bd7d92d40f6f204e77f9b136 /drivers/infiniband/hw/mlx5 | |
parent | RDMA/rtrs: Rename cq_size/queue_size to cq_num/queue_num (diff) | |
download | wireguard-linux-a95fbe2abafdad800cc9a1ee6a08501c6835c8ba.tar.xz wireguard-linux-a95fbe2abafdad800cc9a1ee6a08501c6835c8ba.zip |
RDMA/rtrs: Check device max_qp_wr limit when create QP
Currently we only check device max_qp_wr limit for IO connection, but not
for service connection. We should check for both.
So save the max_qp_wr device limit in wr_limit, and use it for both IO
connections and service connections.
While at it, also remove an outdated comments.
Link: https://lore.kernel.org/r/20210614090337.29557-6-jinpu.wang@ionos.com
Suggested-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5')
0 files changed, 0 insertions, 0 deletions