[PATCH] net/iavf: fix issue of VF resetting
Zhang, Qi Z
qi.z.zhang at intel.com
Tue Jun 28 08:44:47 CEST 2022
> -----Original Message-----
> From: Zhou, YidingX <yidingx.zhou at intel.com>
> Sent: Monday, June 27, 2022 3:23 PM
> To: dev at dpdk.org
> Cc: stable at dpdk.org; Zhou, YidingX <yidingx.zhou at intel.com>; Wu, Jingjing
> <jingjing.wu at intel.com>; Xing, Beilei <beilei.xing at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Subject: [PATCH] net/iavf: fix issue of VF resetting
>
> When the VF is in closed state, the vf_reset flag can not be reverted if the VF is
> reset asynchronously. This prevents all virtchnl commands from executing,
> causing subsequent calls to iavf_dev_reset() to fail.
>
> So the vf_reset flag needs to be reverted even when VF is in closed state.
>
> Fixes: 676d986b4b86 ("net/iavf: fix crash after VF reset failure")
> Cc: stable at dpdk.org
>
> Signed-off-by: Yiding Zhou <yidingx.zhou at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi
More information about the stable
mailing list