]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/rte_virtio_net.h
vhost: add a flag to enable dequeue zero copy
[dpdk.git] / lib / librte_vhost / rte_virtio_net.h
index 5f69e78d53a67c356f227b7f93fa4c4c7a724e94..c53ff64176f81b3efb23d94412091a7e68bd6a90 100644 (file)
 #include <rte_ether.h>
 
 #define RTE_VHOST_USER_CLIENT          (1ULL << 0)
+#define RTE_VHOST_USER_NO_RECONNECT    (1ULL << 1)
+#define RTE_VHOST_USER_DEQUEUE_ZERO_COPY       (1ULL << 2)
 
 /* Enum for virtqueue management. */
 enum {VIRTIO_RXQ, VIRTIO_TXQ, VIRTIO_QNUM};
 
 /**
  * Device and vring operations.
- *
- * Make sure to set VIRTIO_DEV_RUNNING to the device flags in new_device and
- * remove it in destroy_device.
- *
  */
 struct virtio_net_device_ops {
        int (*new_device)(int vid);             /**< Add device. */