]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/virtio/virtio_user_ethdev.c
ethdev: get rid of device type
[dpdk.git] / drivers / net / virtio / virtio_user_ethdev.c
index 8077f2e41302dfef7c49dec40bf6c461c2396335..c682d8f03c12fbdb408112bdaa5e5711ae922458 100644 (file)
@@ -277,7 +277,7 @@ virtio_user_eth_dev_alloc(const char *name)
        struct virtio_hw *hw;
        struct virtio_user_dev *dev;
 
-       eth_dev = rte_eth_dev_allocate(name, RTE_ETH_DEV_VIRTUAL);
+       eth_dev = rte_eth_dev_allocate(name);
        if (!eth_dev) {
                PMD_INIT_LOG(ERR, "cannot alloc rte_eth_dev");
                return NULL;