Thread (2 messages) 2 messages, 2 authors, 2021-07-12

Re: [PATCH v2 rdma-rc] RDMA/bnxt_re: Fix stats counters

From: Jason Gunthorpe <jgg@nvidia.com>
Date: 2021-07-12 17:42:50

On Sun, Jul 11, 2021 at 06:31:36AM -0700, Selvin Xavier wrote:
From: Naresh Kumar PBS <redacted>

Stats 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 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: 9d6b648c3112 ("bnxt_en: Update firmware interface spec to 1.10.1.65.")
Signed-off-by: Naresh Kumar PBS <redacted>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
---
v1 -> v2:
 Corrected the fixes tag

 drivers/infiniband/hw/bnxt_re/main.c      |  4 +++-
 drivers/infiniband/hw/bnxt_re/qplib_res.c | 10 ++++------
 drivers/infiniband/hw/bnxt_re/qplib_res.h |  1 +
 3 files changed, 8 insertions(+), 7 deletions(-)
Applied to for-rc, thanks

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help