Home
last modified time | relevance | path

Searched refs:vq_ring (Results 1 – 4 of 4) sorted by relevance

/f-stack/dpdk/drivers/crypto/virtio/
H A Dvirtqueue.h65 struct vring vq_ring; /**< vring keeping desc, used and avail */ member
111 ((uint16_t)((vq)->vq_ring.used->idx - (vq)->vq_used_cons_idx))
117 vq->vq_ring.avail->idx = vq->vq_avail_idx; in vq_update_avail_idx()
132 if (unlikely(vq->vq_ring.avail->ring[avail_idx] != desc_idx)) in vq_update_avail_ring()
133 vq->vq_ring.avail->ring[avail_idx] = desc_idx; in vq_update_avail_ring()
140 return !(vq->vq_ring.used->flags & VRING_USED_F_NO_NOTIFY); in virtqueue_kick_prepare()
159 used_idx = (vq)->vq_ring.used->idx; \
166 (vq)->vq_desc_head_idx, (vq)->vq_ring.avail->idx, \
167 (vq)->vq_used_cons_idx, (vq)->vq_ring.used->idx, \
168 (vq)->vq_ring.avail->flags, (vq)->vq_ring.used->flags); \
H A Dvirtio_cryptodev.c202 vq->vq_ring.desc[head].flags = VRING_DESC_F_INDIRECT; in virtio_crypto_send_command()
205 vq->vq_desc_head_idx = vq->vq_ring.desc[head].next; in virtio_crypto_send_command()
216 while (vq->vq_used_cons_idx == vq->vq_ring.used->idx) { in virtio_crypto_send_command()
221 while (vq->vq_used_cons_idx != vq->vq_ring.used->idx) { in virtio_crypto_send_command()
227 uep = &vq->vq_ring.used->ring[used_idx]; in virtio_crypto_send_command()
232 desc_idx = vq->vq_ring.desc[desc_idx].next; in virtio_crypto_send_command()
1014 vq->vq_ring.desc[head].len in virtio_crypto_sym_clear_session()
1019 vq->vq_desc_head_idx = vq->vq_ring.desc[head].next; in virtio_crypto_sym_clear_session()
1041 uep = &vq->vq_ring.used->ring[used_idx]; in virtio_crypto_sym_clear_session()
1044 while (vq->vq_ring.desc[desc_idx].flags in virtio_crypto_sym_clear_session()
[all …]
H A Dvirtio_rxtx.c17 dp = &vq->vq_ring.desc[desc_idx]; in vq_ring_free_chain()
23 dp = &vq->vq_ring.desc[dp->next]; in vq_ring_free_chain()
36 dp_tail = &vq->vq_ring.desc[vq->vq_desc_tail_idx]; in vq_ring_free_chain()
59 uep = &vq->vq_ring.used->ring[used_idx]; in virtqueue_dequeue_burst_rx()
328 start_dp = txvq->vq_ring.desc; in virtqueue_crypto_sym_enqueue_xmit()
369 struct vring *vr = &vq->vq_ring; in virtio_crypto_vring_start()
H A Dvirtqueue.c21 vq->vq_ring.avail->flags |= VRING_AVAIL_F_NO_INTERRUPT; in virtqueue_disable_intr()