> -----Original Message----- > From: Di, ChenxuX > Sent: Thursday, September 19, 2019 10:48 AM > To: dev@dpdk.org > Cc: Yang, Qiming <qiming.y...@intel.com>; Di, ChenxuX > <chenxux...@intel.com> > Subject: [PATCH v4 0/5] drivers/net: 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(). > This patch cover all the intel drivers. > > --- > V4 changes: > Removed adaper stopped flag in function ice_dev_init. > V3 changes: > Removed adapter closed flag in driver e1000, fm10k, ice, ixgbe. > V2 changes: > Separated to 5 patches, each patch only change one driver. > Added resource release in dev_close. > > 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 | 28 ++--- > drivers/net/ixgbe/ixgbe_ethdev.c | 167 +++++++++++++------------ > 7 files changed, 305 insertions(+), 292 deletions(-) > > -- > 2.17.1
Acked-by: Qiming Yang <qiming.y...@intel.com>