vmxnet3: convert to use of PMD_REGISTER_DRIVER and fix linking
[dpdk.git] / lib / librte_ether / rte_ethdev.h
index 7126f95..24288f8 100644 (file)
@@ -1315,16 +1315,6 @@ struct eth_driver {
  */
 extern void rte_eth_driver_register(struct eth_driver *eth_drv);
 
-/**
- * The initialization function of the driver for VMware VMXNET3
- * Ethernet devices.
- * Invoked once at EAL start time.
- * @return
- *   0 on success
- */
-extern int rte_vmxnet3_pmd_init(void);
-
-
 /**
  * The initialization function of *all* supported and enabled drivers.
  * Right now, the following PMDs are supported:
@@ -1345,14 +1335,7 @@ extern int rte_vmxnet3_pmd_init(void);
 static inline
 int rte_pmd_init_all(void)
 {
-       int ret = -ENODEV;
-
-#ifdef RTE_LIBRTE_VMXNET3_PMD
-       if ((ret = rte_vmxnet3_pmd_init()) != 0) {
-               RTE_LOG(ERR, PMD, "Cannot init vmxnet3 PMD\n");
-               return (ret);
-       }
-#endif /* RTE_LIBRTE_VMXNET3_PMD */
+       int ret = 0;
 
        if (ret == -ENODEV)
                RTE_LOG(ERR, PMD, "No PMD(s) are configured\n");