Home
last modified time | relevance | path

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

/openbmc/qemu/net/
H A Daf-xdp.c48 uint32_t n_pool; member
110 s->pool[s->n_pool++] = *addr; in af_xdp_complete_tx()
158 if (!s->n_pool || !xsk_ring_prod__reserve(&s->tx, 1, &idx)) { in af_xdp_receive()
168 desc->addr = s->pool[--s->n_pool]; in af_xdp_receive()
200 if (s->n_pool < n + 1) { in af_xdp_fq_refill()
201 n = s->n_pool; in af_xdp_fq_refill()
209 *xsk_ring_prod__fill_addr(&s->fq, idx++) = s->pool[--s->n_pool]; in af_xdp_fq_refill()
238 s->pool[s->n_pool++] = desc->addr; in af_xdp_send()
329 s->n_pool = n_descs; in af_xdp_umem_create()