Re: [PATCH net-next v3 3/3] net: stmmac: Don't set or get RSS parameters when not supported

From: Nicolai Buchwitz

Date: Fri Oct 02 2026 - 11:03:39 EST


On 2.10.2026 16:28, Maxime Chevallier wrote:
The RSS kselftests fail on stmmac, and this is partly due to the driver
reporting bogus data for the RSS ops :

- ethtool -x reports an indirection table and a key while the hardware
doesn't have any of that
- ethtool -X fails with -EINVAL.

Return a 0 indir size and key size when rss isn't supported, effectively
meaning we don't support RSS here.

Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>
---

[...]

Reviewed-by: Nicolai Buchwitz <nb@xxxxxxxxxxx>

Thanks,
Nicolai