net/ixgbe: support NIC reset
authorWei Dai <wei.dai@intel.com>
Sun, 23 Jul 2017 09:15:10 +0000 (17:15 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 13 Sep 2017 21:08:11 +0000 (23:08 +0200)
commit03b92b70da87a3ffdc2dda4effbea163dc6a3721
treef356c5aa83cd36e5704ea5e186ff57782e03e812
parent514302ff6e0022829e3dcf77d00813ecb4e85a68
net/ixgbe: support NIC reset

Reset a NIC by calling dev_uninit and then dev_init.
Go through same way in NIC PCI remove without release of
ethdev resource and then NIC PCI probe function without
ethdev resource allocation.

Signed-off-by: Wei Dai <wei.dai@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c