[dpdk-dev] [PATCH v4] net/i40e: fix VF/PF port close
Zhang, Qi Z
qi.z.zhang at intel.com
Mon Dec 10 13:20:28 CET 2018
> -----Original Message-----
> From: Yan, Zhirun
> Sent: Monday, December 10, 2018 10:09 PM
> To: dev at dpdk.org; Wang, Haiyue <haiyue.wang at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: Yan, Zhirun <zhirun.yan at intel.com>
> Subject: [PATCH v4] net/i40e: fix VF/PF port close
>
> Port reset will call i40evf_uninit_vf() to release resource. It wants to call
> i40evf_dev_close() to release resources. Befort this patch,
s/Befort/before
> hw->adapter_stopped was used to mark the status about start/stop and
> close. So it will never call i40evf_dev_close() after stopped the port.
s/stopped/stopping
>
> This patch added hw->adapter_closed flag in i40evf_dev_close() and
> i40e_dev_close() to control the status of close.
>
> Fixes: 4861cde4611601ccc9 ("i40e: new poll mode driver")
>
> Signed-off-by: Zhirun Yan <zhirun.yan at intel.com>
> Signed-off-by: Haiyue Wang <haiyue.wang at intel.com>
Acked-by: Qi Zhang <qi.z.zhang at intel.com>
Applied to dpdk-next-net-intel with above typo fix
Thanks
Qi
More information about the dev
mailing list