eal: make vdev init path generic for both virtual and pci devices
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 21 Apr 2014 14:59:31 +0000 (10:59 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 May 2014 12:28:16 +0000 (14:28 +0200)
commite57f20e051770861377ff00d37a8f8f810c8a2f0
treef16bf8c33c58cac299f2f0b5558abd990621c0e8
parent2c62588a533f3ca1dd10acb9521d3c24754d0c4d
eal: make vdev init path generic for both virtual and pci devices

Currently, physical device pmds use a separate initalization path
(rte_pmd_init_all) while virtual devices use a constructor registration and
rte_eal_dev_init.  Theres no reason to have them be separate.  This patch
removes the vdev specific nomenclature from the vdev init path and makes it more
generic for use with all pmds.  This is the first step in converting the
physical device pmds to using the same constructor based registration path that
the virtual devices use.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
13 files changed:
lib/librte_eal/bsdapp/eal/Makefile
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/common/Makefile
lib/librte_eal/common/eal_common_dev.c [new file with mode: 0644]
lib/librte_eal/common/eal_common_vdev.c [deleted file]
lib/librte_eal/common/include/eal_private.h
lib/librte_eal/common/include/rte_dev.h [new file with mode: 0644]
lib/librte_eal/common/include/rte_vdev.h [deleted file]
lib/librte_eal/linuxapp/eal/Makefile
lib/librte_eal/linuxapp/eal/eal.c
lib/librte_pmd_pcap/rte_eth_pcap.c
lib/librte_pmd_ring/rte_eth_ring.c
lib/librte_pmd_xenvirt/rte_eth_xenvirt.c