Searched refs:avail_idx (Results 1 – 2 of 2) sorted by relevance
81 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() local319 if (avail_idx == q->rx.avail_idx) { in get_rx_avail_desc_idx()[all …]
25 uint16_t avail_idx; member34 uint16_t avail_idx; member