[PATCH v5 05/27] net/i40e: make default RSS key global
Medvedkin, Vladimir
vladimir.medvedkin at intel.com
Tue Feb 17 18:06:44 CET 2026
Acked-by: Vladimir Medvedkin <vladimir.medvedkin at intel.com>
On 2/17/2026 12:13 PM, Anatoly Burakov wrote:
> Currently, there are multiple places where we need a default RSS key, but
> in each of those places we define it as a local variable. Make it global
> constant, and adjust all callers to use the global constant. When dealing
> with adminq, we cannot send down the constant because adminq commands do
> not guarantee const-ness, so copy RSS key into a local buffer before
> sending it down to hardware.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> drivers/net/intel/i40e/i40e_ethdev.c | 22 ++++++++++------------
> drivers/net/intel/i40e/i40e_hash.c | 23 +++++++++++++++++------
> drivers/net/intel/i40e/i40e_hash.h | 3 +++
> 3 files changed, 30 insertions(+), 18 deletions(-)
>
<snip>
--
Regards,
Vladimir
More information about the dev
mailing list