pci: create device list and fallback on its members
authorJan Viktorin <viktorin@rehivetech.com>
Tue, 20 Sep 2016 12:41:36 +0000 (18:11 +0530)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 3 Oct 2016 14:34:03 +0000 (16:34 +0200)
commit13a1317d3ba72185bab4fb4b225c9d67dff599f9
tree3849303f5d991cda5d1c6fe8edcce200dfa17915
parenta000b58662f8821b4537f2f4ca1271b762a59286
pci: create device list and fallback on its members

Now that rte_device is available, drivers can start using its members
(numa, name) as well as link themselves into another rte_device list.

As of now no one is using this list, but can be used for moving over all
devices (pdev/vdev/Xdev) and perform bulk actions (like cleanup).

Signed-off-by: Jan Viktorin <viktorin@rehivetech.com>
[Shreyansh: Reword commit log for extra rte_device list]
Signed-off-by: Shreyansh Jain <shreyansh.jain@nxp.com>
Acked-by: David Marchand <david.marchand@6wind.com>
app/test/virtual_pmd.c
drivers/net/fm10k/fm10k_ethdev.c
drivers/net/i40e/i40e_ethdev.c
drivers/net/mlx5/mlx5.c
drivers/net/virtio/virtio_pci.c
lib/librte_eal/bsdapp/eal/eal_pci.c
lib/librte_eal/common/eal_common_pci.c
lib/librte_eal/common/include/rte_pci.h
lib/librte_eal/linuxapp/eal/eal_pci.c
lib/librte_ether/rte_ethdev.c