Lines Matching refs:test_spec

127 static char *mode_string(struct test_spec *test)
141 static void report_failure(struct test_spec *test)
444 static void __test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx,
504 static void test_spec_init(struct test_spec *test, struct ifobject *ifobj_tx,
506 const struct test_spec *test_to_run)
534 static void test_spec_reset(struct test_spec *test)
539 static void test_spec_set_xdp_prog(struct test_spec *test, struct bpf_program *xdp_prog_rx,
549 static int test_spec_set_mtu(struct test_spec *test, int mtu)
602 static void pkt_stream_restore_default(struct test_spec *test)
730 static void pkt_stream_replace(struct test_spec *test, u32 nb_pkts, u32 pkt_len)
753 static void pkt_stream_replace_half(struct test_spec *test, u32 pkt_len, int offset)
759 static void pkt_stream_receive_half(struct test_spec *test)
773 static void pkt_stream_even_odd_sequence(struct test_spec *test)
874 static void pkt_stream_generate_custom(struct test_spec *test, struct pkt *pkts, u32 nb_pkts)
1091 static int __receive_pkts(struct test_spec *test, struct xsk_socket_info *xsk)
1211 bool all_packets_received(struct test_spec *test, struct xsk_socket_info *xsk, u32 sock_num,
1230 static int receive_pkts(struct test_spec *test)
1417 bool all_packets_sent(struct test_spec *test, unsigned long *bitmap)
1422 static int send_pkts(struct test_spec *test, struct ifobject *ifobject)
1575 static void xsk_configure_socket(struct test_spec *test, struct ifobject *ifobject,
1600 static void thread_common_ops_tx(struct test_spec *test, struct ifobject *ifobject)
1653 static void thread_common_ops(struct test_spec *test, struct ifobject *ifobject)
1695 struct test_spec *test = (struct test_spec *)arg;
1718 struct test_spec *test = (struct test_spec *)arg;
1768 static bool xdp_prog_changed_rx(struct test_spec *test)
1775 static bool xdp_prog_changed_tx(struct test_spec *test)
1805 static void xsk_attach_xdp_progs(struct test_spec *test, struct ifobject *ifobj_rx,
1818 static int __testapp_validate_traffic(struct test_spec *test, struct ifobject *ifobj1,
1890 static int testapp_validate_traffic(struct test_spec *test)
1913 static int testapp_validate_traffic_single_thread(struct test_spec *test, struct ifobject *ifobj)
1918 static int testapp_teardown(struct test_spec *test)
1943 static int testapp_bidirectional(struct test_spec *test)
1961 static int swap_xsk_resources(struct test_spec *test)
1979 static int testapp_xdp_prog_cleanup(struct test_spec *test)
1991 static int testapp_headroom(struct test_spec *test)
1997 static int testapp_stats_rx_dropped(struct test_spec *test)
2012 static int testapp_stats_tx_invalid_descs(struct test_spec *test)
2019 static int testapp_stats_rx_full(struct test_spec *test)
2030 static int testapp_stats_fill_empty(struct test_spec *test)
2040 static int testapp_send_receive_unaligned(struct test_spec *test)
2050 static int testapp_send_receive_unaligned_mb(struct test_spec *test)
2059 static int testapp_single_pkt(struct test_spec *test)
2067 static int testapp_send_receive_mb(struct test_spec *test)
2075 static int testapp_invalid_desc_mb(struct test_spec *test)
2115 static int testapp_invalid_desc(struct test_spec *test)
2160 static int testapp_xdp_drop(struct test_spec *test)
2172 static int testapp_xdp_metadata_copy(struct test_spec *test)
2199 static int testapp_xdp_shared_umem(struct test_spec *test)
2216 static int testapp_poll_txq_tmout(struct test_spec *test)
2225 static int testapp_poll_rxq_tmout(struct test_spec *test)
2231 static int testapp_too_many_frags(struct test_spec *test)
2335 static int testapp_send_receive(struct test_spec *test)
2340 static int testapp_send_receive_2k_frame(struct test_spec *test)
2348 static int testapp_poll_rx(struct test_spec *test)
2354 static int testapp_poll_tx(struct test_spec *test)
2360 static int testapp_aligned_inv_desc(struct test_spec *test)
2365 static int testapp_aligned_inv_desc_2k_frame(struct test_spec *test)
2372 static int testapp_unaligned_inv_desc(struct test_spec *test)
2379 static int testapp_unaligned_inv_desc_4001_frame(struct test_spec *test)
2399 static int testapp_aligned_inv_desc_mb(struct test_spec *test)
2404 static int testapp_unaligned_inv_desc_mb(struct test_spec *test)
2411 static int testapp_xdp_metadata(struct test_spec *test)
2416 static int testapp_xdp_metadata_mb(struct test_spec *test)
2422 static int testapp_hw_sw_min_ring_size(struct test_spec *test)
2442 static int testapp_hw_sw_max_ring_size(struct test_spec *test)
2466 static void run_pkt_test(struct test_spec *test)
2538 static const struct test_spec tests[] = {
2590 struct test_spec test;