linux-stable/drivers/infiniband/hw/bnxt_re
Selvin Xavier c63e1c4dfc RDMA/bnxt_re: Fix max_qp_wrs reported
While creating qps, the driver adds one extra entry to the sq size passed
by the ULPs in order to avoid queue full condition.  When ULPs creates QPs
with max_qp_wr reported, driver creates QP with 1 more than the max_wqes
supported by HW. Create QP fails in this case. To avoid this error, reduce
1 entry in max_qp_wqes and report it to the stack.

Link: https://lore.kernel.org/r/1606741986-16477-1-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Devesh Sharma <devesh.sharma@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-12-07 15:43:42 -04:00
..
bnxt_re.h RDMA: Fix link active_speed size 2020-09-18 10:31:24 -03:00
hw_counters.c bnxt_en: Update firmware interface to 1.10.1.54. 2020-07-27 11:47:33 -07:00
hw_counters.h RDMA/bnxt_re: Report out of sequence hw counters 2018-10-16 00:03:50 -06:00
ib_verbs.c RDMA/bnxt_re: Fix entry size during SRQ create 2020-10-27 14:12:26 -03:00
ib_verbs.h RDMA: Allow fail of destroy CQ 2020-09-09 14:14:29 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
main.c RDMA: Convert sysfs device * show functions to use sysfs_emit() 2020-10-26 19:53:21 -03:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
qplib_fp.c Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
qplib_fp.h RDMA/bnxt_re: Change wr posting logic to accommodate variable wqes 2020-07-20 16:32:50 -03:00
qplib_rcfw.c Merge branch 'mlx5_active_speed' into rdma.git for-next 2020-09-18 10:31:45 -03:00
qplib_rcfw.h RDMA/bnxt_re: Fix the qp table indexing 2020-08-27 09:30:43 -03:00
qplib_res.c RDMA/bnxt_re: Use rdma_umem_for_each_dma_block() 2020-10-06 16:45:53 -03:00
qplib_res.h RDMA/bnxt_re: Use rdma_umem_for_each_dma_block() 2020-10-06 16:45:53 -03:00
qplib_sp.c RDMA/bnxt_re: Fix max_qp_wrs reported 2020-12-07 15:43:42 -04:00
qplib_sp.h RDMA/bnxt_re: Restrict the max_gids to 256 2020-08-27 09:30:44 -03:00
roce_hsi.h RDMA/bnxt_re: Add helper data structures 2020-07-20 16:32:50 -03:00