Lines Matching full:consumer
64 single-consumer / single-producer (for performance reasons), the new
116 The UMEM has two single-producer/single-consumer rings, that are used
124 TX. All rings are single-producer/single-consumer, so the user-space
133 The rings are head(producer)/tail(consumer) based rings. A producer
135 producer member, and increasing the producer index. A consumer reads
136 the data ring at the index pointed out by struct xdp_ring consumer
137 member, and increasing the consumer index.
245 // __u32 *consumer;
251 // __u32 *consumer;
263 __u32 entries = *ring->producer - *ring->consumer;
270 *item = ring->desc[*ring->consumer & (RING_SIZE - 1)];
271 (*ring->consumer)++;
277 u32 free_entries = RING_SIZE - (*ring->producer - *ring->consumer);