ixgbe: convert to use of PMD_REGISTER_DRIVER and fix linking
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 21 Apr 2014 14:59:35 +0000 (10:59 -0400)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 20 May 2014 12:28:16 +0000 (14:28 +0200)
commit7b9d82208b5ed4b09cb686a5a6b7643827f1d9ad
tree0fff52c8f5f3a1f6cec4a54f08c3d35f968fb58c
parent4ac16f77f02e43f4ec018dbaa89c085faa4f3ed0
ixgbe: convert to use of PMD_REGISTER_DRIVER and fix linking

Convert the ixgbe pmd driver to use the PMD_REGISTER_DRIVER macro.
This means that the test applications now have no reference to the ixgbe 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>
examples/dpdk_qat/main.c
examples/vmdq_dcb/main.c
lib/librte_ether/rte_ethdev.h
lib/librte_pmd_ixgbe/ixgbe_ethdev.c