Lines Matching defs:test
122 #define busy_poll_string(test) (test)->ifobj_tx->busy_poll ? "BUSY-POLL " : "" argument
123 static char *mode_string(struct test_spec *test) in mode_string()
137 static void report_failure(struct test_spec *test) in report_failure()
454 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in __test_spec_init()
503 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx, in test_spec_init()
530 static void test_spec_reset(struct test_spec *test) in test_spec_reset()
535 static void test_spec_set_name(struct test_spec *test, const char *name) in test_spec_set_name()
540 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx, in test_spec_set_xdp_prog()
581 static void pkt_stream_restore_default(struct test_spec *test) in pkt_stream_restore_default()
650 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len) in pkt_stream_replace()
675 static void pkt_stream_replace_half(struct test_spec *test, u32 pkt_len, int offset) in pkt_stream_replace_half()
681 static void pkt_stream_receive_half(struct test_spec *test) in pkt_stream_receive_half()
740 static void pkt_stream_generate_custom(struct test_spec *test, struct pkt *pkts, u32 nb_pkts) in pkt_stream_generate_custom()
891 static int receive_pkts(struct test_spec *test, struct pollfd *fds) in receive_pkts()
1071 static int send_pkts(struct test_spec *test, struct ifobject *ifobject) in send_pkts()
1196 static void xsk_configure_socket(struct test_spec *test, struct ifobject *ifobject, in xsk_configure_socket()
1221 static void thread_common_ops_tx(struct test_spec *test, struct ifobject *ifobject) in thread_common_ops_tx()
1260 static void thread_common_ops(struct test_spec *test, struct ifobject *ifobject) in thread_common_ops()
1298 struct test_spec *test = (struct test_spec *)arg; in worker_testapp_validate_tx() local
1323 struct test_spec *test = (struct test_spec *)arg; in worker_testapp_validate_rx() local
1374 static bool xdp_prog_changed(struct test_spec *test, struct ifobject *ifobj) in xdp_prog_changed()
1402 static void xsk_attach_xdp_progs(struct test_spec *test, struct ifobject *ifobj_rx, in xsk_attach_xdp_progs()
1415 static int __testapp_validate_traffic(struct test_spec *test, struct ifobject *ifobj1, in __testapp_validate_traffic()
1460 static int testapp_validate_traffic(struct test_spec *test) in testapp_validate_traffic()
1469 static int testapp_validate_traffic_single_thread(struct test_spec *test, struct ifobject *ifobj) in testapp_validate_traffic_single_thread()
1474 static void testapp_teardown(struct test_spec *test) in testapp_teardown()
1498 static void testapp_bidi(struct test_spec *test) in testapp_bidi()
1528 static void testapp_bpf_res(struct test_spec *test) in testapp_bpf_res()
1540 static void testapp_headroom(struct test_spec *test) in testapp_headroom()
1547 static void testapp_stats_rx_dropped(struct test_spec *test) in testapp_stats_rx_dropped()
1558 static void testapp_stats_tx_invalid_descs(struct test_spec *test) in testapp_stats_tx_invalid_descs()
1566 static void testapp_stats_rx_full(struct test_spec *test) in testapp_stats_rx_full()
1581 static void testapp_stats_fill_empty(struct test_spec *test) in testapp_stats_fill_empty()
1610 static bool testapp_unaligned(struct test_spec *test) in testapp_unaligned()
1628 static void testapp_single_pkt(struct test_spec *test) in testapp_single_pkt()
1636 static void testapp_invalid_desc(struct test_spec *test) in testapp_invalid_desc()
1676 static void testapp_xdp_drop(struct test_spec *test) in testapp_xdp_drop()
1689 static void testapp_poll_txq_tmout(struct test_spec *test) in testapp_poll_txq_tmout()
1700 static void testapp_poll_rxq_tmout(struct test_spec *test) in testapp_poll_rxq_tmout()
1749 static void run_pkt_test(struct test_spec *test, enum test_mode mode, enum test_type type) in run_pkt_test()
1915 struct test_spec test; in main() local