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

Reset a NIC by calling dev_uninit() and then dev_init().
Go through the 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/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c