net/nfb: remove resources when port is closed
authorRastislav Cernay <cernay@netcope.com>
Tue, 27 Aug 2019 20:37:16 +0000 (22:37 +0200)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 28 Aug 2019 11:09:19 +0000 (13:09 +0200)
The rte_eth_dev_close() function now handles freeing resources for
devices (e.g., mac_addrs).  To conform with the new close() behaviour we
are asserting the RTE_ETH_DEV_CLOSE_REMOVE flag so that
rte_eth_dev_close() releases all device level dynamic memory.

Signed-off-by: Rastislav Cernay <cernay@netcope.com>
Reviewed-by: Xiaolong Ye <xiaolong.ye@intel.com>
Acked-by: Jan Remes <remes@netcope.com>

No differences found