net/i40e: release port upon close
authorChenxu Di <chenxux.di@intel.com>
Fri, 27 Sep 2019 09:09:46 +0000 (09:09 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:57 +0000 (15:00 +0200)
commitac89d46096d5dcf34fc112b7b762d66a0ca0dd14
tree61ede891aebb0a1a8958352e121076c45073bc26
parent8a5741a915a53fd64f5c65ed892b36c66787b8a7
net/i40e: release port upon close

Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources
 for the port can be freed by rte_eth_dev_close().

Signed-off-by: Chenxu Di <chenxux.di@intel.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Qiming Yang <qiming.yang@intel.com>
doc/guides/rel_notes/release_19_11.rst
drivers/net/i40e/i40e_ethdev.c
drivers/net/i40e/i40e_ethdev_vf.c