Home
last modified time | relevance | path

Searched defs:virtqueue (Results 1 – 3 of 3) sorted by relevance

/spdk/include/spdk_internal/
H A Dvirtio.h106 struct virtqueue { struct
107 struct virtio_dev *vdev; /**< owner of this virtqueue */ argument
108 struct vring vq_ring; /**< vring keeping desc, used and avail */
113 uint16_t vq_used_cons_idx;
114 uint16_t vq_nentries; /**< vring desc numbers */
115 uint16_t vq_free_cnt; /**< num of desc available */
116 uint16_t vq_avail_idx; /**< sync until needed */
118 void *vq_ring_virt_mem; /**< virtual address of vring */
119 unsigned int vq_ring_size;
121 uint64_t vq_ring_mem; /**< physical address of vring */
[all …]
/spdk/lib/vhost/
H A Drte_vhost_user.c66 vhost_log_req_desc(struct spdk_vhost_session *vsession, struct spdk_vhost_virtqueue *virtqueue, in vhost_log_req_desc() argument
97 struct spdk_vhost_virtqueue *virtqueue, in vhost_log_used_vring_elem() argument
119 struct spdk_vhost_virtqueue *virtqueue) in vhost_log_used_vring_idx() argument
139 vhost_vq_avail_ring_get(struct spdk_vhost_virtqueue * virtqueue,uint16_t * reqs,uint16_t reqs_len) vhost_vq_avail_ring_get() argument
222 vhost_vq_get_desc(struct spdk_vhost_session * vsession,struct spdk_vhost_virtqueue * virtqueue,uint16_t req_idx,struct vring_desc ** desc,struct vring_desc ** desc_table,uint32_t * desc_table_size) vhost_vq_get_desc() argument
268 vhost_vq_get_desc_packed(struct spdk_vhost_session * vsession,struct spdk_vhost_virtqueue * virtqueue,uint16_t req_idx,struct vring_packed_desc ** desc,struct vring_packed_desc ** desc_table,uint32_t * desc_table_size) vhost_vq_get_desc_packed() argument
324 vhost_vq_used_signal(struct spdk_vhost_session * vsession,struct spdk_vhost_virtqueue * virtqueue) global() argument
351 session_vq_io_stats_update(struct spdk_vhost_session * vsession,struct spdk_vhost_virtqueue * virtqueue,uint64_t now) global() argument
372 check_session_vq_io_stats(struct spdk_vhost_session * vsession,struct spdk_vhost_virtqueue * virtqueue,uint64_t now) global() argument
401 vhost_session_vq_used_signal(struct spdk_vhost_virtqueue * virtqueue) global() argument
444 vhost_vq_used_ring_enqueue(struct spdk_vhost_session * vsession,struct spdk_vhost_virtqueue * virtqueue,uint16_t id,uint32_t len) global() argument
486 vhost_vq_packed_ring_enqueue(struct spdk_vhost_session * vsession,struct spdk_vhost_virtqueue * virtqueue,uint16_t num_descs,uint16_t buffer_id,uint32_t length,uint16_t inflight_head) global() argument
553 vhost_vq_packed_ring_is_avail(struct spdk_vhost_virtqueue * virtqueue) global() argument
[all...]
H A Dvhost_internal.h169 struct spdk_vhost_virtqueue virtqueue[SPDK_VHOST_MAX_VQUEUES]; global() member
[all...]