bus: add iterator to find a bus
authorJan Blunck <jblunck@infradead.org>
Fri, 30 Jun 2017 18:19:30 +0000 (20:19 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 3 Jul 2017 23:08:11 +0000 (01:08 +0200)
commit87bfa873afebbf73355310e25c2d19e9825c1e24
treeda36922653897cff51a3b7b1c3bc7e66c7b880ba
parentfea892e35f211d1f7aa4991dd415a9b5f40dad76
bus: add iterator to find a bus

This helper allows to iterate over all registered buses and find one
matching data used as parameter.

Signed-off-by: Jan Blunck <jblunck@infradead.org>
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/bsdapp/eal/rte_eal_version.map
lib/librte_eal/common/eal_common_bus.c
lib/librte_eal/common/include/rte_bus.h
lib/librte_eal/linuxapp/eal/rte_eal_version.map