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

2019-06-05 Thread Ferruh Yigit
On 5/27/2019 6:02 PM, Allain Legacy wrote: > 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 dynami

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

2019-05-31 Thread Ye Xiaolong
On 05/27, Allain Legacy wrote: >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. > >Sec

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

2019-05-31 Thread Peters, Matt
> -Original Message- > From: Legacy, Allain > Sent: Monday, May 27, 2019 1:03 PM > To: tho...@monjalon.net > Cc: dev@dpdk.org; ferruh.yi...@intel.com; Peters, Matt > Subject: [PATCH v2] net/avp: remove resources when port is closed > > The rte_eth_dev_close() function now handles freein

[dpdk-dev] [PATCH v2] 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). 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. Second level memory allocated to each in