OpenCloudOS-Kernel/drivers/infiniband/hw/bnxt_re
Naresh Kumar PBS 0c23af52cc RDMA/bnxt_re: Fix stats counters
Statistical counters are not incrementing in some adapter versions with
newer FW. This is due to the stats context length mismatch between FW and
driver. Since the L2 driver updates the length correctly, use the stats
length from L2 driver while allocating the DMA'able memory and creating
the stats context.

Fixes: 9d6b648c31 ("bnxt_en: Update firmware interface spec to 1.10.1.65.")
Link: https://lore.kernel.org/r/1626010296-6076-1-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>
2021-07-12 14:42:27 -03:00
..
Kconfig RDMA/bnxt_re: Depend on bnxt ethernet driver and not blindly select it 2021-04-19 14:57:03 -03:00
Makefile infiniband: prefix header search paths with $(srctree)/ 2019-01-25 15:28:50 -07:00
bnxt_re.h RDMA/bnxt_re: Move device to error state upon device crash 2021-03-26 10:37:01 -03:00
hw_counters.c RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
hw_counters.h RDMA: Split the alloc_hw_stats() ops to port and device variants 2021-06-16 20:58:29 -03:00
ib_verbs.c RDMA/bnxt_re: Fix uninitialized struct bit field rsvd1 2021-06-24 09:16:42 -03:00
ib_verbs.h RDMA: Support more than 255 rdma ports 2021-03-26 09:31:21 -03:00
main.c RDMA/bnxt_re: Fix stats counters 2021-07-12 14:42:27 -03:00
qplib_fp.c RDMA/bnxt_re: Fix error return code in bnxt_qplib_cq_process_terminal() 2021-04-12 15:11:00 -03:00
qplib_fp.h RDMA/bnxt_re: Update ABI to pass wqe-mode to user space 2021-06-21 20:58:52 -03:00
qplib_rcfw.c RDMA/bnxt_re: Move device to error state upon device crash 2021-03-26 10:37:01 -03:00
qplib_rcfw.h RDMA/bnxt_re: Move device to error state upon device crash 2021-03-26 10:37:01 -03:00
qplib_res.c RDMA/bnxt_re: Fix stats counters 2021-07-12 14:42:27 -03:00
qplib_res.h RDMA/bnxt_re: Fix stats counters 2021-07-12 14:42:27 -03:00
qplib_sp.c RDMA/bnxt_re: Enable global atomic ops if platform supports 2021-06-03 16:59:11 -03:00
qplib_sp.h RDMA/bnxt_re: Enable global atomic ops if platform supports 2021-06-03 16:59:11 -03:00
roce_hsi.h RDMA/bnxt_re: Add helper data structures 2020-07-20 16:32:50 -03:00