]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/bnxt_re: Fix the statistics for Gen P7 VF
authorSelvin Xavier <selvin.xavier@broadcom.com>
Tue, 4 Feb 2025 08:21:25 +0000 (00:21 -0800)
committerLeon Romanovsky <leon@kernel.org>
Mon, 10 Feb 2025 08:39:25 +0000 (03:39 -0500)
commit8238c7bd84209c8216b1381ab0dbe6db9e203769
tree3a650b175b4ff20e3736f2a6d1433a9fff489953
parente2f105277411c4ebacd00d4ae1a57f693ba7d22d
RDMA/bnxt_re: Fix the statistics for Gen P7 VF

Gen P7 VF support the extended stats and is prevented
by a VF check. Fix the check to issue the FW command
for GenP7 VFs also.

Fixes: 1801d87b3598 ("RDMA/bnxt_re: Support new 5760X P7 devices")
Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Link: https://patch.msgid.link/1738657285-23968-5-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/qplib_res.h