Home
last modified time | relevance | path

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

/samples/bpf/
Dxdpsock_user.c1200 u32 idx_rx = 0, idx_fq = 0; in rx_drop() local
1203 rcvd = xsk_ring_cons__peek(&xsk->rx, opt_batch_size, &idx_rx); in rx_drop()
1224 u64 addr = xsk_ring_cons__rx_desc(&xsk->rx, idx_rx)->addr; in rx_drop()
1225 u32 len = xsk_ring_cons__rx_desc(&xsk->rx, idx_rx++)->len; in rx_drop()
1363 u32 idx_rx = 0, idx_tx = 0; in l2fwd() local
1368 rcvd = xsk_ring_cons__peek(&xsk->rx, opt_batch_size, &idx_rx); in l2fwd()
1391 u64 addr = xsk_ring_cons__rx_desc(&xsk->rx, idx_rx)->addr; in l2fwd()
1392 u32 len = xsk_ring_cons__rx_desc(&xsk->rx, idx_rx++)->len; in l2fwd()