Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/
Deth_ivshmem_queue.c76 q->tx.used_idx = 0; in eth_ivshmem_queue_reset()
80 q->rx.used_idx = 0; in eth_ivshmem_queue_reset()
197 uint16_t used_idx = q->rx.used_idx % q->desc_max_len; in eth_ivshmem_queue_rx_complete() local
199 q->rx.used_idx++; in eth_ivshmem_queue_rx_complete()
200 q->rx.vring.used->ring[used_idx].id = avail_desc_idx; in eth_ivshmem_queue_rx_complete()
201 q->rx.vring.used->ring[used_idx].len = 1; in eth_ivshmem_queue_rx_complete()
202 VRING_FLUSH(q->rx.vring.used->ring[used_idx]); in eth_ivshmem_queue_rx_complete()
205 q->rx.vring.used->idx = q->rx.used_idx; in eth_ivshmem_queue_rx_complete()
271 if (q->tx.used_idx == q->tx.vring.used->idx) { in tx_clean_used()
276 q->tx.used_idx % q->desc_max_len]; in tx_clean_used()
[all …]
Deth_ivshmem_priv.h26 uint16_t used_idx; member
35 uint16_t used_idx; member