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

2019-05-27 Thread Ferruh Yigit
On 5/27/2019 2:46 PM, Allain Legacy wrote: > The rte_eth_dev_close() function now handles freeing resources for > devices (e.g., mac_addrs). There is no change in behaviour for AVP > devices since they do not currently free their dynamic memory; which was > a bug. To conform with the new close()

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

2019-05-27 Thread Allain Legacy
The rte_eth_dev_close() function now handles freeing resources for devices (e.g., mac_addrs). There is no change in behaviour for AVP devices since they do not currently free their dynamic memory; which was a bug. To conform with the new close() behaviour we are asserting the RTE_ETH_DEV_CLOSE_RE