eal: implement device iteration
authorGaetan Rivet <gaetan.rivet@6wind.com>
Wed, 11 Jul 2018 21:45:01 +0000 (23:45 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 15 Jul 2018 21:44:17 +0000 (23:44 +0200)
commitac1a511eff3ff92bf2a2aef3cfb74d63ab1eeac8
tree51087bcfa0a0606545d4486125357172572260ef
parentc99a2d4c6b7fa8c9798760dae7eb2b9a87964090
eal: implement device iteration

Use the iteration hooks in the abstraction layers to perform the
requested filtering on the internal device lists.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/common/eal_common_dev.c
lib/librte_eal/common/include/rte_dev.h
lib/librte_eal/rte_eal_version.map