Home
last modified time | relevance | path

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

/Linux-v5.10/samples/bpf/
Dxdpsock_kern.c12 __uint(max_entries, MAX_SOCKS);
21 rr = (rr + 1) & (MAX_SOCKS - 1); in xdp_sock_prog()
Dxdpsock.h9 #define MAX_SOCKS 4 macro
Dxdpsock_user.c155 struct xsk_socket_info *xsks[MAX_SOCKS];
1023 opt_num_xsks = MAX_SOCKS; in parse_command_line()
1220 struct pollfd fds[MAX_SOCKS] = {}; in rx_drop_all()
1298 struct pollfd fds[MAX_SOCKS] = {}; in tx_only_all()
1299 u32 frame_nb[MAX_SOCKS] = {}; in tx_only_all()
1388 struct pollfd fds[MAX_SOCKS] = {}; in l2fwd_all()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_sk_lookup.c33 #define MAX_SOCKS 32 macro
37 __uint(max_entries, MAX_SOCKS);
/Linux-v5.10/Documentation/networking/
Daf_xdp.rst290 #define MAX_SOCKS 16
294 __uint(max_entries, MAX_SOCKS);
303 rr = (rr + 1) & (MAX_SOCKS - 1);