Home
last modified time | relevance | path

Searched refs:avail_idx (Results 1 – 2 of 2) sorted by relevance

/Zephyr-Core-3.5.0/drivers/ethernet/
Deth_ivshmem_queue.c81 q->tx.avail_idx = 0; in eth_ivshmem_queue_reset()
85 q->rx.avail_idx = 0; in eth_ivshmem_queue_reset()
147 q->tx.vring.avail->ring[q->tx.avail_idx % q->desc_max_len] = desc_head; in eth_ivshmem_queue_tx_commit_buff()
149 VRING_FLUSH(q->tx.vring.avail->ring[q->tx.avail_idx % q->desc_max_len]); in eth_ivshmem_queue_tx_commit_buff()
152 q->tx.avail_idx++; in eth_ivshmem_queue_tx_commit_buff()
153 q->tx.vring.avail->idx = q->tx.avail_idx; in eth_ivshmem_queue_tx_commit_buff()
214 q->rx.avail_idx++; in eth_ivshmem_queue_rx_complete()
215 vring_avail_event(&q->rx.vring) = q->rx.avail_idx; in eth_ivshmem_queue_rx_complete()
317 uint16_t avail_idx = q->rx.vring.avail->idx; in get_rx_avail_desc_idx() local
319 if (avail_idx == q->rx.avail_idx) { in get_rx_avail_desc_idx()
[all …]
Deth_ivshmem_priv.h25 uint16_t avail_idx; member
34 uint16_t avail_idx; member