net/enic: release port upon close
authorHyong Youb Kim <hyonkim@cisco.com>
Mon, 10 Dec 2018 18:28:53 +0000 (10:28 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 13 Dec 2018 17:50:26 +0000 (17:50 +0000)
commit7f34bb52028fdfc4ac97a7d828476b93a9a5a3e1
tree482227c57c16f5ff2a3ad0a8972038575ee9f791
parent46df488b270a81a9353cac9374b8c338fcf7dfeb
net/enic: release port upon close

Set RTE_ETH_DEV_CLOSE_REMOVE upon probe so rte_eth_dev_close() can
later free port resources including mac_addrs.

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
doc/guides/rel_notes/release_19_02.rst
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_main.c