Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xsk.c259 test->nb_sockets = 1; in __test_spec_init()
567 for (i = 0; i < test->nb_sockets; i++) { in pkt_stream_even_odd_sequence()
592 for (i = 0; i < test->nb_sockets; i++) { in release_even_odd_sequence()
1103 if (bitmap_full(bitmap, test->nb_sockets)) in all_packets_received()
1113 DECLARE_BITMAP(bitmap, test->nb_sockets); in receive_pkts()
1118 bitmap_zero(bitmap, test->nb_sockets); in receive_pkts()
1144 sock_num = (sock_num + 1) % test->nb_sockets; in receive_pkts()
1301 return bitmap_full(bitmap, test->nb_sockets); in all_packets_sent()
1307 DECLARE_BITMAP(bitmap, test->nb_sockets); in send_pkts()
1310 bitmap_zero(bitmap, test->nb_sockets); in send_pkts()
[all …]
H A Dtest_xsk.h204 u16 nb_sockets; member