Home
last modified time | relevance | path

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

/Linux-v4.19/samples/bpf/
Dxdpsock_user.c51 #define NUM_DESCS 1024 macro
480 int sfd, ndescs = NUM_DESCS; in xsk_configure()
513 NUM_DESCS * sizeof(struct xdp_desc), in xsk_configure()
520 for (i = 0; i < NUM_DESCS * FRAME_SIZE; i += FRAME_SIZE) in xsk_configure()
528 NUM_DESCS * sizeof(struct xdp_desc), in xsk_configure()
534 xsk->rx.mask = NUM_DESCS - 1; in xsk_configure()
535 xsk->rx.size = NUM_DESCS; in xsk_configure()
540 xsk->tx.mask = NUM_DESCS - 1; in xsk_configure()
541 xsk->tx.size = NUM_DESCS; in xsk_configure()
545 xsk->tx.cached_cons = NUM_DESCS; in xsk_configure()