linux/drivers/infiniband
Naresh Kumar PBS e6a06a13ec RDMA/bnxt_re: Fix stats counters
[ Upstream commit 0c23af52cc ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2021-08-04 12:46:41 +02:00
..
core RDMA/cma: Fix rdma_resolve_route() memory leak 2021-07-19 09:44:53 +02:00
hw RDMA/bnxt_re: Fix stats counters 2021-08-04 12:46:41 +02:00
sw RDMA/rxe: Don't overwrite errno from ib_umem_get() 2021-07-19 09:44:52 +02:00
ulp IB/isert: Align target max I/O size to initiator size 2021-07-19 09:44:53 +02:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00