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

Bruce Richardson bruce.richardson at intel.com
Fri Aug 14 13:25:49 CEST 2026


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: stable at dpdk.org
> 
> Signed-off-by: Ciara Loftus <ciara.loftus at intel.com>
> ---
>  drivers/net/intel/i40e/i40e_ethdev.c | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
Acked-by: Bruce Richardson <bruce.richardson at intel.com>


More information about the stable mailing list