On Sun, Sep 12, 2021 at 11:15:15AM -0700, Selvin Xavier wrote: > Implement extended statistics counters for newer adapters. > Check if the FW support for this command and issue the FW > command only if is supported. Includes code re-organization > to handle extended stats. Also, add AH and PD software counters. > > Signed-off-by: Selvin Xavier <selvin.xavier@xxxxxxxxxxxx> > --- > drivers/infiniband/hw/bnxt_re/bnxt_re.h | 5 +- > drivers/infiniband/hw/bnxt_re/hw_counters.c | 273 ++++++++++++++++++---------- > drivers/infiniband/hw/bnxt_re/hw_counters.h | 28 ++- > drivers/infiniband/hw/bnxt_re/ib_verbs.c | 16 +- > drivers/infiniband/hw/bnxt_re/main.c | 4 + > drivers/infiniband/hw/bnxt_re/qplib_fp.c | 3 + > drivers/infiniband/hw/bnxt_re/qplib_res.h | 9 +- > drivers/infiniband/hw/bnxt_re/qplib_sp.c | 51 ++++++ > drivers/infiniband/hw/bnxt_re/qplib_sp.h | 28 +++ > drivers/infiniband/hw/bnxt_re/roce_hsi.h | 85 +++++++++ > 10 files changed, 401 insertions(+), 101 deletions(-) > Thanks, Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxx>