Re: [dpdk-dev] [PATCH v11 02/11] ethdev: count devices consistently

2017-07-18 Thread Thomas Monjalon
18/07/2017 15:48, Gaetan Rivet: > Make the rte_eth_dev_count() return the number of available devices even > after some are detached by the hotplug API or put in a deferred state. > > Signed-off-by: Gaetan Rivet Acked-by: Thomas Monjalon Ferruh, it can be taken in next-net as part of failsafe

[dpdk-dev] [PATCH v11 02/11] ethdev: count devices consistently

2017-07-18 Thread Gaetan Rivet
Make the rte_eth_dev_count() return the number of available devices even after some are detached by the hotplug API or put in a deferred state. Signed-off-by: Gaetan Rivet --- lib/librte_ether/rte_ethdev.c | 16 +--- lib/librte_ether/rte_ethdev.h | 13 ++--- 2 files changed,