Re: [dpdk-dev] [PATCH v4] net/i40e: fix VF/PF port close

2018-12-10 Thread Zhang, Qi Z
> -Original Message- > From: Yan, Zhirun > Sent: Monday, December 10, 2018 10:09 PM > To: dev@dpdk.org; Wang, Haiyue ; Zhang, Qi Z > > Cc: Yan, Zhirun > Subject: [PATCH v4] net/i40e: fix VF/PF port close > > Port reset will call i40evf_uninit_vf() to release resource. It wants to call

[dpdk-dev] [PATCH v4] net/i40e: fix VF/PF port close

2018-12-09 Thread Zhirun Yan
Port reset will call i40evf_uninit_vf() to release resource. It wants to call i40evf_dev_close() to release resources. Befort this patch, 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. This patch added hw