Re: [dpdk-dev] [PATCH 04/20] net/atlantic: release port upon close

2020-09-23 Thread Thomas Monjalon
23/09/2020 18:42, Ferruh Yigit: > On 9/13/2020 11:06 PM, Thomas Monjalon wrote: > > The flag RTE_ETH_DEV_CLOSE_REMOVE is set so all port resources > > can be freed by rte_eth_dev_close(). > > > > Freeing of private port resources is moved > > from the ".remove(device)" to the ".dev_close(port)" op

Re: [dpdk-dev] [PATCH 04/20] net/atlantic: release port upon close

2020-09-23 Thread Ferruh Yigit
On 9/13/2020 11:06 PM, Thomas Monjalon wrote: The flag RTE_ETH_DEV_CLOSE_REMOVE is set so all port resources can be freed by rte_eth_dev_close(). Freeing of private port resources is moved from the ".remove(device)" to the ".dev_close(port)" operation. Signed-off-by: Thomas Monjalon <...>

Re: [dpdk-dev] [PATCH 04/20] net/atlantic: release port upon close

2020-09-16 Thread Igor Russkikh
On 14/09/2020 1:06 am, Thomas Monjalon wrote: > The flag RTE_ETH_DEV_CLOSE_REMOVE is set so all port resources > can be freed by rte_eth_dev_close(). > > Freeing of private port resources is moved > from the ".remove(device)" to the ".dev_close(port)" operation. > > Signed-off-by: Thomas Monja

[dpdk-dev] [PATCH 04/20] net/atlantic: release port upon close

2020-09-13 Thread Thomas Monjalon
The flag RTE_ETH_DEV_CLOSE_REMOVE is set so all port resources can be freed by rte_eth_dev_close(). Freeing of private port resources is moved from the ".remove(device)" to the ".dev_close(port)" operation. Signed-off-by: Thomas Monjalon --- drivers/net/atlantic/atl_ethdev.c | 62 --