devargs: make device types generic
authorGaetan Rivet <gaetan.rivet@6wind.com>
Fri, 7 Jul 2017 00:04:32 +0000 (02:04 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Sat, 8 Jul 2017 22:11:15 +0000 (00:11 +0200)
commitbd279a79366f50a4893fb84db91bbf64b56f9fb1
tree5f27e7296f1ca631f6e29b74e7b7589f256f08e6
parent2b0e39c1832c053792ed147c6b1afeebb674e19a
devargs: make device types generic

rte_devargs now represents any device from any bus.
The related devtypes do not identify a bus anymore, only which scan
policy the device subscribes to.

The bus itself is identified by a bus handle previously introduced.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
lib/librte_eal/common/eal_common_devargs.c
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_common_pci.c
lib/librte_eal/common/eal_common_vdev.c
lib/librte_eal/common/include/rte_devargs.h
test/test/test_devargs.c