[PATCH v2 1/2] net/i40e: do not use flow RSS conf struct
Bruce Richardson
bruce.richardson at intel.com
Fri Aug 21 18:11:25 CEST 2026
On Fri, Aug 21, 2026 at 10:15:30AM +0100, Anatoly Burakov wrote:
> Currently, the RSS filter structure includes an rte_flow RSS conf structure
> directly. This is suboptimal, because that structure has pointers in it,
> which makes copying data out of this structure a non-trivial operation that
> may introduce potentially dangling pointers to queue lists or RSS key.
>
> Replace it with direct members of the RSS config struct, and adjust all
> users accordingly.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> ---
> drivers/net/intel/i40e/i40e_ethdev.h | 11 +++++---
> drivers/net/intel/i40e/i40e_flow.c | 13 +++++++---
> drivers/net/intel/i40e/i40e_hash.c | 39 ++++++++++++----------------
> drivers/net/intel/i40e/i40e_hash.h | 1 -
> 4 files changed, 33 insertions(+), 31 deletions(-)
>
Acked-by: Bruce Richardson <bruce.richardson at intel.com>
More information about the dev
mailing list