]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/bnxt_re: Remove non-statistics counters from hw_counters
authorAnantha Prabhu <anantha.prabhu@broadcom.com>
Tue, 23 Sep 2025 06:26:57 +0000 (11:56 +0530)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 24 Sep 2025 13:42:14 +0000 (10:42 -0300)
commit7fcf00bd7f30540cf7096c8f2fadab5d890d4cf2
tree85ac7994417829de31d9ec861d1721cc216f21f6
parent604f202bc9ebf9d8a96caec3375a7ba3bcf149b2
RDMA/bnxt_re: Remove non-statistics counters from hw_counters

Remove non-statistics counters from the RDMA hw_counters framework.
The removed data includes:

- Active resource counts (ACTIVE_PD, ACTIVE_QP, etc.)
- Resource watermarks (WATERMARK_PD, WATERMARK_QP, etc.)
- Operational counters (RESIZE_CQ_CNT)
- DB pacing metrics (PACING_RESCHED, PACING_CMPL, etc.)

This change ensures hw_counters contains only true performance
and error statistics.

Link: https://patch.msgid.link/r/20250923062657.981487-3-kalesh-anakkur.purayil@broadcom.com
Signed-off-by: Anantha Prabhu <anantha.prabhu@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/bnxt_re/hw_counters.c
drivers/infiniband/hw/bnxt_re/hw_counters.h