Re: [dpdk-dev] [PATCH v6 0/6] ethdev port freeing

2018-10-22 Thread Ferruh Yigit
On 10/19/2018 3:07 AM, Thomas Monjalon wrote: > The function rte_eth_dev_detach() is freeing a port and its underlying > rte_device object. The issue is that we may have several ports > associated to the same rte_device. > > The right replacement is to free the port, and free the rte_device > if n

[dpdk-dev] [PATCH v6 0/6] ethdev port freeing

2018-10-18 Thread Thomas Monjalon
The function rte_eth_dev_detach() is freeing a port and its underlying rte_device object. The issue is that we may have several ports associated to the same rte_device. The right replacement is to free the port, and free the rte_device if no more ports. At ethdev level, the public function for por