X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ether%2Frte_ethdev.h;h=24288f8f26ece7f58f7706d28052b3ba7add6100;hb=2e87457ef99faef83ae5671d756f4f3f0a66286f;hp=7126f959ed882871e6474ee93d28cff6bc88bd66;hpb=42a6654c1024a76948e6469b24ebfb3f22acfb30;p=dpdk.git diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 7126f959ed..24288f8f26 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -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");