summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc/python_version.py
diff options
context:
space:
mode:
authorSelvin Xavier <selvin.xavier@broadcom.com>2026-09-21 23:12:30 -0700
committerLeon Romanovsky <leon@kernel.org>2026-09-29 04:42:22 -0400
commit7cc8ccb157a4769c8fbce8296532dcb8a8ea0d5e (patch)
tree37af9664e9bc0b506f531f5e489feb9167f3a085 /tools/lib/python/kdoc/python_version.py
parentaa6c2ef821a6ba7f3fd58cfcc031b2d16f3811c6 (diff)
RDMA/bnxt_re: Use bnxt_ext_stats_supported for counter count selection
Selecting between BNXT_RE_NUM_EXT_COUNTERS and BNXT_RE_NUM_STD_COUNTERS relied only on bnxt_qplib_is_chip_gen_p5_p7(), which doesn't account for the extended stats capability flag or the PF/VF restriction. Use bnxt_ext_stats_supported() instead, matching the check already used to populate the extended stats, so the counter count stays consistent with what gets filled in. Fixes: 8238c7bd8420 ("RDMA/bnxt_re: Fix the statistics for Gen P7 VF") Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com> Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com> Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions