[PATCH 21.11] net/iavf: fix VF reset when using DCF

Kevin Traynor ktraynor at redhat.com
Wed Dec 4 12:39:22 CET 2024


On 28/11/2024 12:51, Bruce Richardson wrote:
> On the latest ice kernel driver, renegotiating
> VIRTCHNL_OP_GET_VF_RESOURCES will fail when using DCF (Device Config
> Function) if a hardware reset is not done.
> 
> Fix this by sending VIRTCHNL_OP_RESET_VF to PF before DPDK resets VF.
> 
> Fixes: e74e1bb6280d ("net/iavf: enable port reset")
> 
> Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
> ---
> 
> Note: This fix is effectively a merge of previous main tree patches:
> 0f9ec0cbd2a9 ("net/iavf: fix VF reset when using DCF")
> b34fe66ea893 ("net/iavf: delay VF reset command")
> 
> The latter was tagged for possible backport to 21.11, but we are
> actually using commit log of former - with the commit body mostly the
> latter, since it reworked the original fix.
> ---
>  drivers/common/iavf/iavf_prototype.h | 1 +
>  drivers/common/iavf/version.map      | 1 +
>  drivers/net/iavf/iavf_ethdev.c       | 1 +
>  3 files changed, 3 insertions(+)
> 

Thanks Bruce. This is now applied and pushed to 21.11 branch.
Kevin.



More information about the stable mailing list