linux/drivers/infiniband
Jack Wang a95fbe2aba 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>
2021-06-18 13:47:13 -03:00
..
core RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
hw RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
sw RDMA: Remove rdma_set_device_sysfs_group() 2021-06-16 20:58:32 -03:00
ulp RDMA/rtrs: Check device max_qp_wr limit when create QP 2021-06-18 13:47:13 -03:00
Kconfig RDMA/irdma: Add irdma Kconfig/Makefile and remove i40iw 2021-06-02 20:06:36 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00