Searched refs:vring (Results 1 – 2 of 2) sorted by relevance
57 vring_init(&q->tx.vring, vring_desc_len, q->tx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init()58 vring_init(&q->rx.vring, vring_desc_len, q->rx.shmem, ETH_IVSHMEM_VRING_ALIGNMENT); in eth_ivshmem_queue_init()64 struct vring_used *tmp_used = q->tx.vring.used; in eth_ivshmem_queue_init()66 q->tx.vring.used = q->rx.vring.used; in eth_ivshmem_queue_init()67 q->rx.vring.used = tmp_used; in eth_ivshmem_queue_init()91 for (unsigned int i = 0; i < q->tx.vring.num - 1; i++) in eth_ivshmem_queue_reset()92 q->tx.vring.desc[i].next = i + 1; in eth_ivshmem_queue_reset()93 q->tx.vring.desc[q->tx.vring.num - 1].next = 0; in eth_ivshmem_queue_reset()117 struct vring_desc *tx_desc = &q->tx.vring.desc[q->tx.desc_head]; in eth_ivshmem_queue_tx_get_buff()147 q->tx.vring.avail->ring[q->tx.avail_idx % q->desc_max_len] = desc_head; in eth_ivshmem_queue_tx_commit_buff()[all …]
18 struct vring vring; member32 struct vring vring; member