net/ice: release port upon close
authorChenxu Di <chenxux.di@intel.com>
Fri, 27 Sep 2019 09:09:47 +0000 (09:09 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:57 +0000 (15:00 +0200)
commitbd513ece3c40ed4bafca96fa730113b6bc26abe8
tree1c37e4df06d4dd68b4160cbdbfa9293e057743c7
parentac89d46096d5dcf34fc112b7b762d66a0ca0dd14
net/ice: 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/ice/ice_ethdev.c