Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/
Deth_ivshmem_queue.c75 q->tx.avail_idx = 0; in eth_ivshmem_queue_reset()
79 q->rx.avail_idx = 0; in eth_ivshmem_queue_reset()
142 q->tx.vring.avail->ring[q->tx.avail_idx % q->desc_max_len] = desc_head; in eth_ivshmem_queue_tx_commit_buff()
144 VRING_FLUSH(q->tx.vring.avail->ring[q->tx.avail_idx % q->desc_max_len]); in eth_ivshmem_queue_tx_commit_buff()
147 q->tx.avail_idx++; in eth_ivshmem_queue_tx_commit_buff()
148 q->tx.vring.avail->idx = q->tx.avail_idx; in eth_ivshmem_queue_tx_commit_buff()
209 q->rx.avail_idx++; in eth_ivshmem_queue_rx_complete()
210 vring_avail_event(&q->rx.vring) = q->rx.avail_idx; in eth_ivshmem_queue_rx_complete()
312 uint16_t avail_idx = q->rx.vring.avail->idx; in get_rx_avail_desc_idx() local
314 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