Skip to content

net: stmmac: Report RSS as not supported

Maxime Chevallier linux-arm-kernel lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 7 repliesIn review

Changes in v2 from the cover letter

- target net-next
- Add a dedicated helper, following Nicolai's review.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: stmmac: Introduce a helper to check RSS supportdrivers/net/ethernet/stmicro/stmmac/stmmac.h drivers/net/ethernet/stmicro/stmmac/stmmac_main.c+7 -22 replies
2/2net: stmmac: Don't set or get RSS parameters when not supporteddrivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c+12 -05 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchJoe DamatoLorenzo Bianconi
1/2R-b A-b
2/2R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH net-next v2 0/2] net: stmmac: Report RSS as not supported

Hi everyone,

This is V2 of an RSS cleanup for stmmac, discovered while running the rss kselftests on stmmac. It returns bogus indirection tables and key sizes, when RSS isn't actually available at all.

RSS is currently not supported on any stmmac devices upstream, so code that was already useless is now effectively dead. It has been the case since 2019 when the code was added, as platforms need to set rss_en in their plat data, and no glue ever did that.

Russell King ran a poll in february 2026 [1] asking if the code should be dropped, without any reply going in either direction.

Jitendra Vegiraju from Broadcom sent 9 iterations of a Broadcom PCIe glue driver [2] that actually sets rss_en = 1, so there's some hope that this may be used in the future.

[1]: https://lore.kernel.org/netdev/[email protected]/
[2]: https://lore.kernel.org/netdev/[email protected]/

Nvidia platforms seem to be RSS capable, but it's not going to work out of the box. Let's leave the feature there for now, with proper -EOPNOTSUPP returned for RSS ops.

V2:
- target net-next
- Add a dedicated helper, following Nicolai's review.

V1: https://lore.kernel.org/netdev/[email protected]/#t

Maxime Chevallier (2):
net: stmmac: Introduce a helper to check RSS support
net: stmmac: Don't set or get RSS parameters when not supported

 drivers/net/ethernet/stmicro/stmmac/stmmac.h         |  5 +++++
 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 12 ++++++++++++
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c    |  4 ++--
 3 files changed, 19 insertions(+), 2 deletions(-)
Signature · 1 line
2.55.0