[PATCH net v3 0/2] bnge fixes

From: Vikas Gupta

Date: Mon Oct 26 2026 - 05:33:35 EST


Hi,

This series fixes RSS indirection table and context sizing for large RX
ring counts. Patch 1 caps the hardware RSS context count and RX rings
to the RSS table size, preventing out-of-bounds writes and an oversized
memset(). Patch 2 fixes the indirection table sizing so rings above
the table size still receive default RSS traffic.

Thanks,
Vikas

v2->v3:
- Fix Sashiko (Nipa) review comments.

v1->v2:
- Fix Sashiko (Nipa) review comments.


Dharmender Garg (2):
bnge: cap RSS contexts and RX rings to the RSS table size
bnge: fix RSS table sizing for large RX ring counts

drivers/net/ethernet/broadcom/bnge/bnge_resc.c | 6 ++++--
drivers/net/ethernet/broadcom/bnge/bnge_resc.h | 9 +++------
2 files changed, 7 insertions(+), 8 deletions(-)

--
2.52.0