virtio: convert to use of PMD_REGISTER_DRIVER and fix linking
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 21 Apr 2014 14:59:37 +0000 (10:59 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 May 2014 12:28:17 +0000 (14:28 +0200)
commit42a6654c1024a76948e6469b24ebfb3f22acfb30
tree8a737fd2d23cd31988645b5bf5b29ab43ae9a7eb
parentaeec17c200a091c1aabf2a717622d0d1610ea863
virtio: convert to use of PMD_REGISTER_DRIVER and fix linking

Convert the virtio pmd driver to use the PMD_REGISTER_DRIVER macro.
This means that the test applications now have no reference to the virtio library
when building DSO's and must specify its use on the command line with the -d
option.  Static linking will still initalize the driver automatically.

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
Acked-by: Thomas Monjalon <thomas.monjalon@6wind.com>
lib/librte_ether/rte_ethdev.h
lib/librte_pmd_virtio/virtio_ethdev.c
mk/rte.app.mk