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
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_netdev.c | 10 +++++-----
drivers/net/ethernet/broadcom/bnge/bnge_resc.c | 6 ++++--
drivers/net/ethernet/broadcom/bnge/bnge_resc.h | 11 +++++++++++
3 files changed, 20 insertions(+), 7 deletions(-)
--
2.52.0