Re: [dpdk-dev] [PATCH] net/nfb: remove resources when dev is closed

2019-08-10 Thread Ye Xiaolong
On 08/09, Rastislav Cernay wrote: >From: Rastislav Cernay > >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 devic

Re: [dpdk-dev] [PATCH] net/nfb: remove resources when dev is closed

2019-08-09 Thread Jan Remeš
Acked-by: Jan Remes On Fri, Aug 9, 2019 at 4:59 PM Rastislav Cernay wrote: > > From: Rastislav Cernay > > 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 fl

[dpdk-dev] [PATCH] net/nfb: remove resources when dev is closed

2019-08-09 Thread Rastislav Cernay
From: Rastislav Cernay 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: