[Intel-wired-lan] [PATCH iwl-next v2] ice: implement symmetric RSS hash configuration
Simon Horman
horms at kernel.org
Wed Feb 18 09:26:04 UTC 2026
On Tue, Feb 17, 2026 at 02:00:39PM +0100, Aleksandr Loktionov wrote:
> The driver advertises symmetric RSS support via supported_input_xfrm
> but ice_set_rxfh() ignored the input_xfrm parameter, making it
> impossible to configure symmetric hashing.
>
> Fix ice_set_rxfh() to check rxfh->input_xfrm and call
> ice_set_rss_hfunc() with ICE_AQ_VSI_Q_OPT_RSS_HASH_SYM_TPLZ when
> RXH_XFRM_SYM_XOR is requested.
>
> Modify ice_set_rss_vsi_ctx() to use vsi->rss_hfunc instead of
> hardcoding ICE_AQ_VSI_Q_OPT_RSS_HASH_TPLZ, and export it for
> use by ice_set_rxfh().
>
> The kernel requires get_rxfh_fields() to report symmetric hash
> configurations when symmetric transforms are supported. Update
> ice_get_rxfh_fields() to return symmetric field configuration
> (src+dst IP and ports) for all flow types.
>
> Tested with tools/testing/selftests/drivers/net/hw/rss_input_xfrm.py
>
> Signed-off-by: Aleksandr Loktionov <aleksandr.loktionov at intel.com>
> ---
> v1 -> v2 preserve valid symmetric RSS fields.
Thanks for the update.
Reviewed-by: Simon Horman <horms at kernel.org>
More information about the Intel-wired-lan
mailing list