[PATCH net v3 0/2] octeontx2: Misc fixes for RVU drivers

From: Subrat Pandey

Date: Wed Aug 12 2026 - 08:00:31 EST


A few independent fixes for the Marvell OcteonTX2 (RVU AF/PF) drivers:

- Fix aura/CQ BPID assignment under CONFIG_DCB, which assumed
queue_to_pfc_map was always allocated (not true for SDP VFs).
- Fix the SC resource cleanup loop that iterated over secy.max
instead of sc.max.

Changes in v3:
- patch 1: Unify the BPID index logic into a shared otx2_get_bpid_idx()
helper, dropping the per-file #ifdef CONFIG_DCB.
- patch 2: Extend the sc.max fix to the SC stats loop in
mcs_clear_all_stats(); add Fixes: tag.

Changes in v2:
- Dropped "octeontx2-af: Fix mcs string buffer size", will
re-target it to net-next.

Baha Mesleh (1):
octeontx2-af: mcs: Fix SC resource cleanup loop

Geetha sowjanya (1):
octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled

drivers/net/ethernet/marvell/octeontx2/af/mcs.c | 4 ++--
.../net/ethernet/marvell/octeontx2/nic/cn20k.c | 11 +----------
.../ethernet/marvell/octeontx2/nic/otx2_common.c | 16 ++++++----------
.../ethernet/marvell/octeontx2/nic/otx2_common.h | 8 ++++++++
4 files changed, 17 insertions(+), 22 deletions(-)

--
2.43.0