diff options
author | Naresh Kumar PBS <[email protected]> | 2021-07-11 06:31:36 -0700 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-07-12 14:42:27 -0300 |
commit | 0c23af52ccd1605926480b5dfd1dd857ef604611 (patch) | |
tree | 098966ac4df41412b1def4d2a030780c96faa5a8 /drivers/fpga/fpga-bridge.c | |
parent | e73f0f0ee7541171d89f2e2491130c7771ba58d3 (diff) |
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: 9d6b648c3112 ("bnxt_en: Update firmware interface spec to 1.10.1.65.")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Naresh Kumar PBS <[email protected]>
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions