OpenCloudOS-Kernel/drivers/infiniband/hw/bnxt_re
Naresh Kumar PBS f86b31c6a2 RDMA/bnxt_re: Static NQ depth allocation
At first, driver allocates memory for NQ based on qplib_ctx->cq_count and
qplib_ctx->srqc_count.  Later when creating ring, it uses a static value
of 128K -1.

Fixing this with a static value for now.

Fixes: b08fe048a6 ("RDMA/bnxt_re: Refactor net ring allocation function")
Link: https://lore.kernel.org/r/1598292876-26529-5-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Naresh Kumar PBS <nareshkumar.pbs@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-08-27 09:30:43 -03:00
..
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
bnxt_re.h RDMA/bnxt_re: Remove unnecessary sched count 2020-03-17 20:15:03 -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: Do not report transparent vlan from QP1 2020-08-27 09:30:43 -03:00
ib_verbs.h RDMA/bnxt_re: Change wr posting logic to accommodate variable wqes 2020-07-20 16:32:50 -03:00
main.c RDMA/bnxt_re: Static NQ depth allocation 2020-08-27 09:30:43 -03:00
qplib_fp.c RDMA/bnxt_re: Fix the qp table indexing 2020-08-27 09:30:43 -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 RDMA/bnxt_re: Fix the qp table indexing 2020-08-27 09:30:43 -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: Simplify obtaining queue entry from hw ring 2020-04-14 16:39:35 -03:00
qplib_res.h RDMA/bnxt_re: Change wr posting logic to accommodate variable wqes 2020-07-20 16:32:50 -03:00
qplib_sp.c RDMA/bnxt_re: Remove FMR leftovers 2020-06-02 20:32:53 -03:00
qplib_sp.h RDMA/bnxt_re: Remove FMR leftovers 2020-06-02 20:32:53 -03:00
roce_hsi.h RDMA/bnxt_re: Add helper data structures 2020-07-20 16:32:50 -03:00