Re: [dpdk-dev] [PATCH] devargs: fix freeing during device removal

2018-10-19 Thread Thomas Monjalon
18/10/2018 02:19, Thomas Monjalon: > After calling unplug function of a bus, the device is expected > to be freed. It is too late for getting devargs to remove. > Anyway, the buses which implement unplug are already freeing > the devargs, except the PCI bus. > So the call to rte_devargs_remove() is

[dpdk-dev] [PATCH] devargs: fix freeing during device removal

2018-10-17 Thread Thomas Monjalon
After calling unplug function of a bus, the device is expected to be freed. It is too late for getting devargs to remove. Anyway, the buses which implement unplug are already freeing the devargs, except the PCI bus. So the call to rte_devargs_remove() is removed from EAL and added in PCI. Fixes: 2