net/virtio: keep Rx handler whatever the Tx queue config
[dpdk.git] / drivers / net / virtio / virtio_user_ethdev.c
index c961444..57c964d 100644 (file)
@@ -369,7 +369,8 @@ virtio_user_eth_dev_alloc(struct rte_vdev_device *vdev)
         */
        hw->use_msix = 1;
        hw->modern   = 0;
-       hw->use_simple_rxtx = 0;
+       hw->use_simple_rx = 0;
+       hw->use_simple_tx = 0;
        hw->virtio_user_dev = dev;
        data->dev_flags = RTE_ETH_DEV_DETACHABLE;
        return eth_dev;