RE: [PATCH v2 net 2/2] net: enetc: do not allow VF to configure the RSS key

From: Claudiu Manoil

Date: Thu Mar 26 2026 - 06:35:26 EST


> -----Original Message-----
> From: Wei Fang <wei.fang@xxxxxxx>
> Sent: Thursday, March 26, 2026 9:53 AM
[...]
> Subject: [PATCH v2 net 2/2] net: enetc: do not allow VF to configure the RSS
> key
>
> VFs do not have privilege to configure the RSS key because the registers
> are owned by the PF. Currently, if VF attempts to configure the RSS key,
> enetc_set_rxfh() simply skips the configuration and does not generate a
> warning, which may mislead users into thinking the feature is supported.
> To improve this situation, add a check to reject RSS key configuration
> on VFs.
>
> Fixes: d382563f541b ("enetc: Add RFS and RSS support")
> Signed-off-by: Wei Fang <wei.fang@xxxxxxx>
> Reviewed-by: Clark Wang <xiaoning.wang@xxxxxxx>

Reviewed-by: Claudiu Manoil <claudiu.manoil@xxxxxxx>