Re: [PATCH v2 1/2] net/i40e: do not use flow RSS conf struct

Bruce Richardson <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
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 <[email protected]>
> ---
>  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 <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.