Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_xsk.c260 test->nb_sockets = 1; in __test_spec_init()
580 for (i = 0; i < test->nb_sockets; i++) { in pkt_stream_even_odd_sequence()
605 for (i = 0; i < test->nb_sockets; i++) { in release_even_odd_sequence()
1116 if (bitmap_full(bitmap, test->nb_sockets)) in all_packets_received()
1126 DECLARE_BITMAP(bitmap, test->nb_sockets); in receive_pkts()
1131 bitmap_zero(bitmap, test->nb_sockets); in receive_pkts()
1157 sock_num = (sock_num + 1) % test->nb_sockets; in receive_pkts()
1314 return bitmap_full(bitmap, test->nb_sockets); in all_packets_sent()
1319 DECLARE_BITMAP(bitmap, test->nb_sockets); in send_pkts()
1322 bitmap_zero(bitmap, test->nb_sockets); in send_pkts()
[all …]
H A Dtest_xsk.h205 u16 nb_sockets; member
/linux/tools/testing/selftests/bpf/
H A Dxskxceiver.h174 u16 nb_sockets; global() member