Searched refs:avail_desc_idx (Results 1 – 1 of 1) sorted by relevance
28 static int get_rx_avail_desc_idx(struct eth_ivshmem_queue *q, uint16_t *avail_desc_idx);167 uint16_t avail_desc_idx; in eth_ivshmem_queue_rx() local168 int res = get_rx_avail_desc_idx(q, &avail_desc_idx); in eth_ivshmem_queue_rx()174 struct vring_desc *desc = &q->rx.vring.desc[avail_desc_idx]; in eth_ivshmem_queue_rx()195 uint16_t avail_desc_idx; in eth_ivshmem_queue_rx_complete() local196 int res = get_rx_avail_desc_idx(q, &avail_desc_idx); in eth_ivshmem_queue_rx_complete()205 q->rx.vring.used->ring[used_idx].id = avail_desc_idx; in eth_ivshmem_queue_rx_complete()312 static int get_rx_avail_desc_idx(struct eth_ivshmem_queue *q, uint16_t *avail_desc_idx) in get_rx_avail_desc_idx() argument324 *avail_desc_idx = q->rx.vring.avail->ring[q->rx.avail_idx % q->desc_max_len]; in get_rx_avail_desc_idx()325 if (*avail_desc_idx >= q->desc_max_len) { in get_rx_avail_desc_idx()