Re: [PATCH v5 05/27] net/i40e: make default RSS key global

Medvedkin, Vladimir
2026-02-17T17:06:53Z

Acked-by: Vladimir Medvedkin <vladimir.medvedkin@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@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