net/i40e: fix hotplug remove
authorChenxu Di <chenxux.di@intel.com>
Tue, 12 Nov 2019 05:56:06 +0000 (05:56 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commite2d6596bc35036e514faef706724104498e2493b
tree41547bdd106ab0533a8b183fbd76ddff1e3bf838
parent1709cb10a8c9eadda28d90f8aba751864a04c6dd
net/i40e: fix hotplug remove

testpmd will occur infinite loops when device hotplug remove.
We can fix the issue by using the pci generic remove function

Fixes: ac89d46096d5 ("net/i40e: release port upon close")

Signed-off-by: Chenxu Di <chenxux.di@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/i40e/i40e_ethdev.c