Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so all the private resources for the port can be freed by rte_eth_dev_close(). This patch cover all the intel drivers.
v3: remove adapter closed flag in driver e1000, fm10k, ice, ixgbe. Di ChenxuX (5): net/e1000: release port upon close net/fm10k: release port upon close net/i40e: release port upon close net/ice: release port upon close net/ixgbe: release port upon close doc/guides/rel_notes/release_19_11.rst | 5 + drivers/net/e1000/igb_ethdev.c | 144 ++++++++++----------- drivers/net/fm10k/fm10k_ethdev.c | 100 ++++++++------- drivers/net/i40e/i40e_ethdev.c | 128 +++++++++---------- drivers/net/i40e/i40e_ethdev_vf.c | 25 ++-- drivers/net/ice/ice_ethdev.c | 27 ++-- drivers/net/ixgbe/ixgbe_ethdev.c | 167 +++++++++++++------------ 7 files changed, 307 insertions(+), 289 deletions(-) -- 2.17.1