Re: [PATCH 1/2] net/i40e: preserve RSS RETA across port stop and start

Bruce Richardson <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
On Fri, Aug 14, 2026 at 12:25:49PM +0100, Bruce Richardson wrote:
> On Wed, Aug 12, 2026 at 02:38:43PM +0000, Ciara Loftus wrote:
> > Currently, updating the RSS redirection table and then stopping and
> > starting a port loses the update. The port comes back with the default
> > table. The ethdev API requires RSS settings to be retained across
> > stop/start.
> > 
> > The `rss_reta_updated` flag protects a user-provided RETA from being
> > overwritten by the default table when the device is started. However
> > `i40e_dev_stop()` clears this flag, so a subsequent `i40e_dev_start()`
> > treats the RETA as untouched and resets it to the default.
> > 
> > Fix it by clearing `rss_reta_updated` in `i40e_dev_configure()` instead of
> > `i40e_dev_stop()`. A reconfiguration still reverts to the default table,
> > while a plain stop/start now preserves the RETA.
> > 
> > Bugzilla ID: 1127
> > 
> > Fixes: 36c5dc8e5d3c ("net/i40e: fix overwriting RSS RETA")
> > Cc: [email protected]
> > 
> > Signed-off-by: Ciara Loftus <[email protected]>
> > ---
> >  drivers/net/intel/i40e/i40e_ethdev.c | 5 +++--
> >  1 file changed, 3 insertions(+), 2 deletions(-)
> > 
> Acked-by: Bruce Richardson <[email protected]>

Patches applied to dpdk-next-net-intel.
Thanks,
/Bruce
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.