]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_vhost/vhost.h
vhost: flush enqueue updates by cacheline
[dpdk.git] / lib / librte_vhost / vhost.h
index 67724c3423cff5c9611a5b0653bc192173422f6e..d594464423fc107910a6bb58036cdae442a2f7f2 100644 (file)
@@ -174,6 +174,8 @@ struct vhost_virtqueue {
                struct vring_used_elem_packed *shadow_used_packed;
        };
        uint16_t                shadow_used_idx;
+       /* Record packed ring enqueue latest desc cache aligned index */
+       uint16_t                shadow_aligned_idx;
        struct vhost_vring_addr ring_addrs;
 
        struct batch_copy_elem  *batch_copy_elems;