virtio: convert to use of PMD_REGISTER_DRIVER and fix linking
[dpdk.git] / lib / librte_ether / rte_ethdev.h
index ba535dc..7126f95 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 Qumranet virtio-net
- * Ethernet devices.
- * Invoked once at EAL start time.
- * @return
- *   0 on success
- */
-extern int rte_virtio_pmd_init(void);
-
 /**
  * The initialization function of the driver for VMware VMXNET3
  * Ethernet devices.
@@ -1356,13 +1347,6 @@ int rte_pmd_init_all(void)
 {
        int ret = -ENODEV;
 
-#ifdef RTE_LIBRTE_VIRTIO_PMD
-       if ((ret = rte_virtio_pmd_init()) != 0) {
-               RTE_LOG(ERR, PMD, "Cannot init virtio PMD\n");
-               return (ret);
-       }
-#endif /* RTE_LIBRTE_VIRTIO_PMD */
-
 #ifdef RTE_LIBRTE_VMXNET3_PMD
        if ((ret = rte_vmxnet3_pmd_init()) != 0) {
                RTE_LOG(ERR, PMD, "Cannot init vmxnet3 PMD\n");