vhost: add pending IOTLB miss request list and helpers
[dpdk.git] / lib / librte_vhost / vhost.h
index 09a0018..7600885 100644 (file)
@@ -130,9 +130,11 @@ struct vhost_virtqueue {
        uint16_t                batch_copy_nb_elems;
 
        rte_rwlock_t    iotlb_lock;
+       rte_rwlock_t    iotlb_pending_lock;
        struct rte_mempool *iotlb_pool;
        TAILQ_HEAD(, vhost_iotlb_entry) iotlb_list;
        int                             iotlb_cache_nr;
+       TAILQ_HEAD(, vhost_iotlb_entry) iotlb_pending_list;
 } __rte_cache_aligned;
 
 /* Old kernels have no such macros defined */