Lines Matching refs:test_spec

119 static char *mode_string(struct test_spec *test)
133 static void report_failure(struct test_spec *test)
381 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx,
429 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx,
456 static void test_spec_reset(struct test_spec *test)
461 static void test_spec_set_name(struct test_spec *test, const char *name)
466 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx,
476 static int test_spec_set_mtu(struct test_spec *test, int mtu)
527 static void pkt_stream_restore_default(struct test_spec *test)
641 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len)
665 static void pkt_stream_replace_half(struct test_spec *test, u32 pkt_len, int offset)
671 static void pkt_stream_receive_half(struct test_spec *test)
760 static void pkt_stream_generate_custom(struct test_spec *test, struct pkt *pkts, u32 nb_pkts)
967 static int receive_pkts(struct test_spec *test, struct pollfd *fds)
1216 static int send_pkts(struct test_spec *test, struct ifobject *ifobject)
1351 static void xsk_configure_socket(struct test_spec *test, struct ifobject *ifobject,
1376 static void thread_common_ops_tx(struct test_spec *test, struct ifobject *ifobject)
1429 static void thread_common_ops(struct test_spec *test, struct ifobject *ifobject)
1467 struct test_spec *test = (struct test_spec *)arg;
1492 struct test_spec *test = (struct test_spec *)arg;
1545 static bool xdp_prog_changed_rx(struct test_spec *test)
1552 static bool xdp_prog_changed_tx(struct test_spec *test)
1582 static void xsk_attach_xdp_progs(struct test_spec *test, struct ifobject *ifobj_rx,
1595 static int __testapp_validate_traffic(struct test_spec *test, struct ifobject *ifobj1,
1661 static int testapp_validate_traffic(struct test_spec *test)
1676 static int testapp_validate_traffic_single_thread(struct test_spec *test, struct ifobject *ifobj)
1681 static int testapp_teardown(struct test_spec *test)
1707 static int testapp_bidi(struct test_spec *test)
1740 static int testapp_bpf_res(struct test_spec *test)
1752 static int testapp_headroom(struct test_spec *test)
1759 static int testapp_stats_rx_dropped(struct test_spec *test)
1775 static int testapp_stats_tx_invalid_descs(struct test_spec *test)
1783 static int testapp_stats_rx_full(struct test_spec *test)
1796 static int testapp_stats_fill_empty(struct test_spec *test)
1808 static int testapp_unaligned(struct test_spec *test)
1819 static int testapp_unaligned_mb(struct test_spec *test)
1829 static int testapp_single_pkt(struct test_spec *test)
1837 static int testapp_multi_buffer(struct test_spec *test)
1846 static int testapp_invalid_desc_mb(struct test_spec *test)
1886 static int testapp_invalid_desc(struct test_spec *test)
1931 static int testapp_xdp_drop(struct test_spec *test)
1944 static int testapp_xdp_metadata_count(struct test_spec *test)
1967 static int testapp_poll_txq_tmout(struct test_spec *test)
1978 static int testapp_poll_rxq_tmout(struct test_spec *test)
1985 static int testapp_too_many_frags(struct test_spec *test)
2094 static void run_pkt_test(struct test_spec *test, enum test_mode mode, enum test_type type)
2300 struct test_spec test;