bus: introduce scan policies
authorGaetan Rivet <gaetan.rivet@6wind.com>
Fri, 7 Jul 2017 00:04:28 +0000 (02:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 8 Jul 2017 22:08:18 +0000 (00:08 +0200)
commit98eb4b845c1ac7adcc993f4c24df2540fd5c7458
tree811e8edf004f6b63d3a5d268ffff60062924956e
parent3f86ca7f79f1d36811f029a5c50f0541481e0cb1
bus: introduce scan policies

Scan policies describe the way a bus should scan the system to search
for possible devices.

Three flags are introduced:
  RTE_BUS_SCAN_UNDEFINED: Configuration is irrelevant for this bus
  RTE_BUS_SCAN_WHITELIST: Scanning should be limited to declared devices
  RTE_BUS_SCAN_BLACKLIST: Scanning should exclude only declared devices

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/common/include/rte_bus.h