Re: [PATCH net-next v2 1/2] net: stmmac: Introduce a helper to check RSS support
From: Joe Damato
Date: Mon Sep 28 2026 - 20:07:22 EST
On Mon, Sep 28, 2026 at 04:50:41PM +0200, Maxime Chevallier wrote:
> The RSS feature is only available in stmmac if the hardware reports it
> through the DMA caps and if the platform glue sets rss_en.
>
> Introduce a helper that checks both.
>
> For now, no platform sets rss_en, but there's interest in the topic so
> leave the door open instead of dropping the feature altogether.
>
> No functional changes intended.
>
> Suggested-by: Nicolai Buchwitz <nb@xxxxxxxxxxx>
> Signed-off-by: Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx>
> ---
> drivers/net/ethernet/stmicro/stmmac/stmmac.h | 5 +++++
> drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 4 ++--
> 2 files changed, 7 insertions(+), 2 deletions(-)
Reviewed-by: Joe Damato <joe@xxxxxxx>