igbvf: convert to use of PMD_REGISTER_DRIVER and fix linking
[dpdk.git] / lib / librte_ether / rte_ethdev.h
index a6dd769..9e32f56 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 1Gbps Intel IGB_VF
- * Ethernet devices.
- * Invoked once at EAL start time.
- * @return
- *   0 on success
- */
-extern int rte_igbvf_pmd_init(void);
-
 /**
  * The initialization function of the driver for 10Gbps Intel IXGBE
  * Ethernet devices.
@@ -1383,13 +1374,6 @@ int rte_pmd_init_all(void)
 {
        int ret = -ENODEV;
 
-#ifdef RTE_LIBRTE_IGB_PMD
-       if ((ret = rte_igbvf_pmd_init()) != 0) {
-               RTE_LOG(ERR, PMD, "Cannot init igbvf PMD\n");
-               return (ret);
-       }
-#endif /* RTE_LIBRTE_IGB_PMD */
-
 #ifdef RTE_LIBRTE_IXGBE_PMD
        if ((ret = rte_ixgbe_pmd_init()) != 0) {
                RTE_LOG(ERR, PMD, "Cannot init ixgbe PMD\n");