H A D | xskxceiver.c | 127 #define busy_poll_string(test) (test)->ifobj_tx->busy_poll ? "BUSY-POLL " : "" argument 128 static char *mode_string(struct test_spec *test) in mode_string() argument 142 static void report_failure(struct test_spec *test) in report_failure() argument 474 __test_spec_init(struct test_spec * test,struct ifobject * ifobj_tx,struct ifobject * ifobj_rx) __test_spec_init() argument 534 test_spec_init(struct test_spec * test,struct ifobject * ifobj_tx,struct ifobject * ifobj_rx,enum test_mode mode,const struct test_spec * test_to_run) test_spec_init() argument 564 test_spec_reset(struct test_spec * test) test_spec_reset() argument 569 test_spec_set_xdp_prog(struct test_spec * test,struct bpf_program * xdp_prog_rx,struct bpf_program * xdp_prog_tx,struct bpf_map * xskmap_rx,struct bpf_map * xskmap_tx) test_spec_set_xdp_prog() argument 579 test_spec_set_mtu(struct test_spec * test,int mtu) test_spec_set_mtu() argument 632 pkt_stream_restore_default(struct test_spec * test) pkt_stream_restore_default() argument 760 pkt_stream_replace(struct test_spec * test,u32 nb_pkts,u32 pkt_len) pkt_stream_replace() argument 783 pkt_stream_replace_half(struct test_spec * test,u32 pkt_len,int offset) pkt_stream_replace_half() argument 789 pkt_stream_receive_half(struct test_spec * test) pkt_stream_receive_half() argument 803 pkt_stream_even_odd_sequence(struct test_spec * test) pkt_stream_even_odd_sequence() argument 904 pkt_stream_generate_custom(struct test_spec * test,struct pkt * pkts,u32 nb_pkts) pkt_stream_generate_custom() argument 1121 __receive_pkts(struct test_spec * test,struct xsk_socket_info * xsk) __receive_pkts() argument 1241 all_packets_received(struct test_spec * test,struct xsk_socket_info * xsk,u32 sock_num,unsigned long * bitmap) all_packets_received() argument 1260 receive_pkts(struct test_spec * test) receive_pkts() argument 1447 all_packets_sent(struct test_spec * test,unsigned long * bitmap) all_packets_sent() argument 1452 send_pkts(struct test_spec * test,struct ifobject * ifobject) send_pkts() argument 1605 xsk_configure_socket(struct test_spec * test,struct ifobject * ifobject,struct xsk_umem_info * umem,bool tx) xsk_configure_socket() argument 1630 thread_common_ops_tx(struct test_spec * test,struct ifobject * ifobject) thread_common_ops_tx() argument 1683 thread_common_ops(struct test_spec * test,struct ifobject * ifobject) thread_common_ops() argument 1725 struct test_spec *test = (struct test_spec *)arg; worker_testapp_validate_tx() local 1748 struct test_spec *test = (struct test_spec *)arg; worker_testapp_validate_rx() local 1798 xdp_prog_changed_rx(struct test_spec * test) xdp_prog_changed_rx() argument 1805 xdp_prog_changed_tx(struct test_spec * test) xdp_prog_changed_tx() argument 1835 xsk_attach_xdp_progs(struct test_spec * test,struct ifobject * ifobj_rx,struct ifobject * ifobj_tx) xsk_attach_xdp_progs() argument 1848 __testapp_validate_traffic(struct test_spec * test,struct ifobject * ifobj1,struct ifobject * ifobj2) __testapp_validate_traffic() argument 1920 testapp_validate_traffic(struct test_spec * test) testapp_validate_traffic() argument 1947 testapp_validate_traffic_single_thread(struct test_spec * test,struct ifobject * ifobj) testapp_validate_traffic_single_thread() argument 1952 testapp_teardown(struct test_spec * test) testapp_teardown() argument 1977 testapp_bidirectional(struct test_spec * test) testapp_bidirectional() argument 1995 swap_xsk_resources(struct test_spec * test) swap_xsk_resources() argument 2013 testapp_xdp_prog_cleanup(struct test_spec * test) testapp_xdp_prog_cleanup() argument 2025 testapp_headroom(struct test_spec * test) testapp_headroom() argument 2031 testapp_stats_rx_dropped(struct test_spec * test) testapp_stats_rx_dropped() argument 2046 testapp_stats_tx_invalid_descs(struct test_spec * test) testapp_stats_tx_invalid_descs() argument 2053 testapp_stats_rx_full(struct test_spec * test) testapp_stats_rx_full() argument 2064 testapp_stats_fill_empty(struct test_spec * test) testapp_stats_fill_empty() argument 2074 testapp_send_receive_unaligned(struct test_spec * test) testapp_send_receive_unaligned() argument 2084 testapp_send_receive_unaligned_mb(struct test_spec * test) testapp_send_receive_unaligned_mb() argument 2093 testapp_single_pkt(struct test_spec * test) testapp_single_pkt() argument 2101 testapp_send_receive_mb(struct test_spec * test) testapp_send_receive_mb() argument 2109 testapp_invalid_desc_mb(struct test_spec * test) testapp_invalid_desc_mb() argument 2149 testapp_invalid_desc(struct test_spec * test) testapp_invalid_desc() argument 2194 testapp_xdp_drop(struct test_spec * test) testapp_xdp_drop() argument 2206 testapp_xdp_metadata_copy(struct test_spec * test) testapp_xdp_metadata_copy() argument 2233 testapp_xdp_shared_umem(struct test_spec * test) testapp_xdp_shared_umem() argument 2250 testapp_poll_txq_tmout(struct test_spec * test) testapp_poll_txq_tmout() argument 2259 testapp_poll_rxq_tmout(struct test_spec * test) testapp_poll_rxq_tmout() argument 2265 testapp_too_many_frags(struct test_spec * test) testapp_too_many_frags() argument 2383 testapp_send_receive(struct test_spec * test) testapp_send_receive() argument 2388 testapp_send_receive_2k_frame(struct test_spec * test) testapp_send_receive_2k_frame() argument 2396 testapp_poll_rx(struct test_spec * test) testapp_poll_rx() argument 2402 testapp_poll_tx(struct test_spec * test) testapp_poll_tx() argument 2408 testapp_aligned_inv_desc(struct test_spec * test) testapp_aligned_inv_desc() argument 2413 testapp_aligned_inv_desc_2k_frame(struct test_spec * test) testapp_aligned_inv_desc_2k_frame() argument 2420 testapp_unaligned_inv_desc(struct test_spec * test) testapp_unaligned_inv_desc() argument 2427 testapp_unaligned_inv_desc_4001_frame(struct test_spec * test) testapp_unaligned_inv_desc_4001_frame() argument 2447 testapp_aligned_inv_desc_mb(struct test_spec * test) testapp_aligned_inv_desc_mb() argument 2452 testapp_unaligned_inv_desc_mb(struct test_spec * test) testapp_unaligned_inv_desc_mb() argument 2459 testapp_xdp_metadata(struct test_spec * test) testapp_xdp_metadata() argument 2464 testapp_xdp_metadata_mb(struct test_spec * test) testapp_xdp_metadata_mb() argument 2470 testapp_hw_sw_min_ring_size(struct test_spec * test) testapp_hw_sw_min_ring_size() argument 2490 testapp_hw_sw_max_ring_size(struct test_spec * test) testapp_hw_sw_max_ring_size() argument 2518 run_pkt_test(struct test_spec * test) run_pkt_test() argument 2642 struct test_spec test; main() local [all...] |