[PATCH v2 7/7] net/iavf: skip flow flush during PF-initiated reset

Loftus, Ciara ciara.loftus at intel.com
Thu Aug 13 15:56:49 CEST 2026


> Subject: [PATCH v2 7/7] net/iavf: skip flow flush during PF-initiated reset
> 
> Skip the virtchnl-emitting teardown on a PF-initiated reset.
> 
> Fixes: ada64daa1a5b ("net/iavf: fix VF reset for flow director rule")
> 
> Signed-off-by: Anurag Mandal <anurag.mandal at intel.com>

Acked-by: Ciara Loftus <ciara.loftus at intel.com>

> ---
>  drivers/net/intel/iavf/iavf_ethdev.c | 4 +++-
>  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/drivers/net/intel/iavf/iavf_ethdev.c
> b/drivers/net/intel/iavf/iavf_ethdev.c
> index 322b59d68c..5373e71b69 100644
> --- a/drivers/net/intel/iavf/iavf_ethdev.c
> +++ b/drivers/net/intel/iavf/iavf_ethdev.c
> @@ -3235,7 +3235,9 @@ iavf_dev_close(struct rte_eth_dev *dev)
>  	/* remove RSS configuration */
>  	iavf_hash_uninit(adapter);
> 
> -	iavf_flow_flush(dev, NULL);
> +	/* Skip the virtchnl-emitting teardown on a PF-initiated reset */
> +	if (!vf->pf_reset_in_progress)
> +		iavf_flow_flush(dev, NULL);
>  	iavf_flow_uninit(adapter);
> 
>  	/*
> --
> 2.34.1



More information about the dev mailing list