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

Convert the igb pmd driver to use the PMD_REGISTER_DRIVER macro.
This means that the test applications now have no reference to the igb 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
lib/librte_ether/rte_ethdev.h
lib/librte_pmd_e1000/igb_ethdev.c