Home
last modified time | relevance | path

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

/openbmc/qemu/pc-bios/s390-ccw/
H A Dvirtio-net.c45 static uint16_t rx_last_idx; /* Last index in receive queue "used" ring */ variable
101 if (rx_last_idx == rxvq->used->idx) { in recv()
105 len = rxvq->used->ring[rx_last_idx % rxvq->num].len - sizeof(VirtioNetHdr); in recv()
110 id = rxvq->used->ring[rx_last_idx % rxvq->num].id % rxvq->num; in recv()
134 rx_last_idx = rx_last_idx + 1; in recv()