]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/vhost.h
net/i40e: fix bitmap free
[dpdk.git] / lib / librte_vhost / vhost.h
index 8c01cee42b372d10461ad7055fdde2fdf1f0b10b..0f7212f8882e52e5fbd0e30c081080e28c88ffef 100644 (file)
@@ -46,6 +46,8 @@
 
 #define MAX_PKT_BURST 32
 
+#define ASYNC_MAX_POLL_SEG 255
+
 #define VHOST_MAX_ASYNC_IT (MAX_PKT_BURST * 2)
 #define VHOST_MAX_ASYNC_VEC (BUF_VECTOR_MAX * 2)
 
@@ -225,6 +227,7 @@ struct vhost_virtqueue {
        uint64_t        *async_pending_info;
        uint16_t        async_pkts_idx;
        uint16_t        async_pkts_inflight_n;
+       uint16_t        async_last_seg_n;
 
        /* vq async features */
        bool            async_inorder;