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

Convert the vmxnet3 pmd driver to use the PMD_REGISTER_DRIVER macro.
This means that the test applications now have no reference to the vmxnet3 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_vmxnet3/vmxnet3_ethdev.c
mk/rte.app.mk