bnxt_re: Update the hw counters for resource stats
authorChandramohan Akula <chandramohan.akula@broadcom.com>
Wed, 26 Jul 2023 14:51:19 +0000 (07:51 -0700)
committerLeon Romanovsky <leon@kernel.org>
Sun, 30 Jul 2023 11:37:04 +0000 (14:37 +0300)
commitcb95709e0dca7a2dee1c168a2100b5fa21ca6205
tree0118ede1de07ea5f573cd796a91b0b6e53f01336
parent063975feedb14386489619084fbb20792b87d21c
bnxt_re: Update the hw counters for resource stats

Report the additional resource counters which enables
better debugging. Includes active RC/UD QPs,
Watermark of the resources and a count that indicates the
resize cq operations after driver load.

Signed-off-by: Chandramohan Akula <chandramohan.akula@broadcom.com>
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://lore.kernel.org/r/1690383081-15033-3-git-send-email-selvin.xavier@broadcom.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/bnxt_re/hw_counters.c
drivers/infiniband/hw/bnxt_re/hw_counters.h
drivers/infiniband/hw/bnxt_re/ib_verbs.c