ixgbe: convert to use of PMD_REGISTER_DRIVER and fix linking
[dpdk.git] / lib / librte_ether / rte_ethdev.h
index 9e32f56..9621be7 100644 (file)
@@ -1315,15 +1315,6 @@ struct eth_driver {
  */
 extern void rte_eth_driver_register(struct eth_driver *eth_drv);
 
-/**
- * The initialization function of the driver for 10Gbps Intel IXGBE
- * Ethernet devices.
- * Invoked once at EAL start time.
- * @return
- *   0 on success
- */
-extern int rte_ixgbe_pmd_init(void);
-
 /**
  * The initialization function of the driver for 10Gbps Intel IXGBE_VF
  * Ethernet devices.
@@ -1375,10 +1366,6 @@ int rte_pmd_init_all(void)
        int ret = -ENODEV;
 
 #ifdef RTE_LIBRTE_IXGBE_PMD
-       if ((ret = rte_ixgbe_pmd_init()) != 0) {
-               RTE_LOG(ERR, PMD, "Cannot init ixgbe PMD\n");
-               return (ret);
-       }
        if ((ret = rte_ixgbevf_pmd_init()) != 0) {
                RTE_LOG(ERR, PMD, "Cannot init ixgbevf PMD\n");
                return (ret);