Netdev List
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] octeontx2: Misc fixes for RVU drivers
@ 2026-08-12 11:52 Subrat Pandey
  2026-08-12 11:52 ` [PATCH net v3 1/2] octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled Subrat Pandey
  2026-08-12 11:52 ` [PATCH net v3 2/2] octeontx2-af: mcs: Fix SC resource cleanup loop Subrat Pandey
  0 siblings, 2 replies; 3+ messages in thread
From: Subrat Pandey @ 2026-08-12 11:52 UTC (permalink / raw)
  To: linux-kernel, netdev
  Cc: pabeni, kuba, edumazet, davem, andrew+netdev, sbhatta, rkannoth,
	gakula, sgoutham, subratp

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-12 11:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-12 11:52 [PATCH net v3 0/2] octeontx2: Misc fixes for RVU drivers Subrat Pandey
2026-08-12 11:52 ` [PATCH net v3 1/2] octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled Subrat Pandey
2026-08-12 11:52 ` [PATCH net v3 2/2] octeontx2-af: mcs: Fix SC resource cleanup loop Subrat Pandey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox