Home
last modified time | relevance | path

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

/net/xdp/
A Dxsk_queue.h44 u32 cached_cons; member
123 u32 idx = cached_cons & q->ring_mask; in __xskq_cons_read_addr_unchecked()
226 q->cached_cons += cnt; in xskq_cons_release_n()
240 u32 cached_cons = q->cached_cons, nb_entries = 0; in xskq_cons_read_desc_batch() local
253 cached_cons++; in xskq_cons_read_desc_batch()
271 cached_cons -= nr_frags; in xskq_cons_read_desc_batch()
273 xskq_cons_release_n(q, cached_cons - q->cached_cons); in xskq_cons_read_desc_batch()
311 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_addr_unchecked()
320 if (q->cached_prod == q->cached_cons) in xskq_cons_peek_desc()
331 q->cached_cons++; in xskq_cons_release()
[all …]
A Dxsk_buff_pool.c588 u32 i, cached_cons, nb_entries; in xp_alloc_new_from_fq() local
594 cached_cons = pool->fq->cached_cons; in xp_alloc_new_from_fq()
602 __xskq_cons_read_addr_unchecked(pool->fq, cached_cons++, &addr); in xp_alloc_new_from_fq()

Completed in 7 milliseconds