On Sun, Jul 11, 2021 at 06:31:36AM -0700, Selvin Xavier wrote: > From: Naresh Kumar PBS <nareshkumar.pbs@xxxxxxxxxxxx> > > 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 <nareshkumar.pbs@xxxxxxxxxxxx> > Signed-off-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> > --- > 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