> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Cody 
> Haas
> Sent: 13 December 2025 05:52
> To: [email protected]
> Cc: Nguyen, Anthony L <[email protected]>; Kitszel, Przemyslaw 
> <[email protected]>; [email protected]; [email protected]; 
> [email protected]; [email protected]; [email protected]; Haas, Cody 
> <[email protected]>
> Subject: [Intel-wired-lan] [PATCH iwl-net v2 0/1] ice: Fix persistent failure 
> in ice_get_rxfh
>
> Several ioctl functions have the ability to call ice_get_rxfh, however all of 
> these ioctl functions do not provide all of the expected information in 
> ethtool_rxfh_param. For example, ethtool_get_rxfh_indir does not provide an 
> rss_key. This previously caused ethtool_get_rxfh_indir to always fail with 
> -EINVAL.
>
> This change draws inspiration from i40e_get_rss to handle this situation, by 
> only calling the appropriate rss helpers when the necessary information has 
> been provided via ethtool_rxfh_param.
>
> Fixes: b66a972abb6b ("ice: Refactor ice_set/get_rss into LUT and key specific 
> functions")
> Signed-off-by: Cody Haas <[email protected]>
> Closes: 
> https://lore.kernel.org/intel-wired-lan/cah7f-ukkjv8mly7zcdgcrge55whrhbgaxvgkdnwgiz9guzt...@mail.gmail.com/
> ---
> drivers/net/ethernet/intel/ice/ice.h         |  1 +
> drivers/net/ethernet/intel/ice/ice_ethtool.c |  6 +----
> drivers/net/ethernet/intel/ice/ice_main.c    | 28 ++++++++++++++++++++
> 3 files changed, 30 insertions(+), 5 deletions(-)
>

Tested-by: Rinitha S <[email protected]> (A Contingent worker at Intel)

Reply via email to