/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | empty_skb.c | 23 __u32 data_size_in; in test_empty_skb() member 36 .data_size_in = 0, in test_empty_skb() 44 .data_size_in = 0, in test_empty_skb() 58 .data_size_in = sizeof(eth_hlen), in test_empty_skb() 72 .data_size_in = sizeof(eth_hlen), in test_empty_skb() 83 .data_size_in = sizeof(eth_hlen_pp), in test_empty_skb() 90 .data_size_in = sizeof(eth_hlen_pp), in test_empty_skb() 123 tattr.data_size_in = tests[i].data_size_in; in test_empty_skb()
|
H A D | xdp_adjust_tail.c | 14 .data_size_in = sizeof(pkt_v4), in test_xdp_adjust_tail_shrink() 30 topts.data_size_in = sizeof(pkt_v6); in test_xdp_adjust_tail_shrink() 49 .data_size_in = sizeof(pkt_v4), in test_xdp_adjust_tail_grow() 65 topts.data_size_in = sizeof(pkt_v6); in test_xdp_adjust_tail_grow() 93 .data_size_in = 0, /* Per test */ in test_xdp_adjust_tail_grow2() 103 tattr.data_size_in = 64; /* Determine test case via pkt size */ in test_xdp_adjust_tail_grow2() 122 tattr.data_size_in = 128; /* Determine test case via pkt size */ in test_xdp_adjust_tail_grow2() 136 ASSERT_EQ(cnt, max_grow - tattr.data_size_in, "case-128-data cnt"); /* Grow increase */ in test_xdp_adjust_tail_grow2() 175 topts.data_size_in = 9000; in test_xdp_adjust_frags_tail_shrink() 239 topts.data_size_in = 9000; in test_xdp_adjust_frags_tail_grow() [all …]
|
H A D | rbtree.c | 16 .data_size_in = sizeof(pkt_v4), in test_rbtree_add_nodes() 38 .data_size_in = sizeof(pkt_v4), in test_rbtree_add_and_remove() 60 .data_size_in = sizeof(pkt_v4), in test_rbtree_first_and_remove() 84 .data_size_in = sizeof(pkt_v4), in test_rbtree_api_release_aliasing()
|
H A D | local_kptr_stash.c | 13 .data_size_in = sizeof(pkt_v4), in test_local_kptr_stash_simple() 34 .data_size_in = sizeof(pkt_v4), in test_local_kptr_stash_plain() 55 .data_size_in = sizeof(pkt_v4), in test_local_kptr_stash_unstash()
|
H A D | pkt_access.c | 12 .data_size_in = sizeof(pkt_v4), in test_pkt_access() 25 topts.data_size_in = sizeof(pkt_v6); in test_pkt_access()
|
H A D | xdp_adjust_frags.c | 38 topts.data_size_in = 128; in test_xdp_update_frags() 63 topts.data_size_in = 9000; in test_xdp_update_frags() 131 topts.data_size_in = buf_size; in test_xdp_update_frags()
|
H A D | ksyms_module.c | 15 .data_size_in = sizeof(pkt_v4), in test_ksyms_module_lskel() 42 .data_size_in = sizeof(pkt_v4), in test_ksyms_module_libbpf()
|
H A D | xdp.c | 19 .data_size_in = sizeof(pkt_v4), in test_xdp() 43 topts.data_size_in = sizeof(pkt_v6); in test_xdp()
|
H A D | kfunc_call.c | 109 topts.data_size_in = sizeof(pkt_v4); in verify_success() 175 topts.data_size_in = sizeof(pkt_v4); in verify_fail() 238 .data_size_in = sizeof(pkt_v4), in test_subprog() 262 .data_size_in = sizeof(pkt_v4), in test_subprog_lskel()
|
H A D | tailcalls.c | 19 .data_size_in = sizeof(buff), in test_tailcall_1() 155 .data_size_in = sizeof(buff), in test_tailcall_2() 230 .data_size_in = sizeof(buff), in test_tailcall_count() 328 .data_size_in = sizeof(buff), in test_tailcall_4() 418 .data_size_in = sizeof(buff), in test_tailcall_5() 506 .data_size_in = sizeof(pkt_v4), in test_tailcall_bpf2bpf_1() 590 .data_size_in = sizeof(buff), in test_tailcall_bpf2bpf_2() 670 .data_size_in = sizeof(pkt_v4), in test_tailcall_bpf2bpf_3() 765 .data_size_in = sizeof(pkt_v4), in test_tailcall_bpf2bpf_4() 845 .data_size_in = sizeof(pkt_v4), in test_tailcall_bpf2bpf_6()
|
H A D | parse_tcp_hdr_opt.c | 37 .data_size_in = sizeof(pkt), in test_parse_opt() 67 .data_size_in = sizeof(pkt), in test_parse_opt_dynptr()
|
H A D | xdp_noinline.c | 34 .data_size_in = sizeof(pkt_v4), in test_xdp_noinline() 55 topts.data_size_in = sizeof(pkt_v6); in test_xdp_noinline()
|
H A D | xdp_do_redirect.c | 74 .data_size_in = MAX_PKT_SIZE, in test_max_pkt_size() 81 opts.data_size_in += 1; in test_max_pkt_size() 99 .data_size_in = sizeof(data), in test_xdp_do_redirect()
|
H A D | type_cast.c | 15 .data_size_in = sizeof(pkt_v4), in test_xdp() 51 .data_size_in = sizeof(pkt_v4), in test_tc()
|
H A D | l4lb_all.c | 57 topts.data_size_in = sizeof(pkt_v4); in test_l4lb() 66 topts.data_size_in = sizeof(pkt_v6); in test_l4lb()
|
H A D | pkt_md_access.c | 12 .data_size_in = sizeof(pkt_v4), in test_pkt_md_access()
|
H A D | jit_probe_mem.c | 12 .data_size_in = sizeof(pkt_v4), in test_jit_probe_mem()
|
H A D | skb_helpers.c | 14 .data_size_in = sizeof(pkt_v4), in test_skb_helpers()
|
H A D | xdp_perf.c | 12 .data_size_in = sizeof(in), in test_xdp_perf()
|
H A D | for_each.c | 21 .data_size_in = sizeof(pkt_v4), in test_hash_map() 87 .data_size_in = sizeof(pkt_v4), in test_array_map()
|
H A D | test_skb_pkt_end.c | 12 .data_size_in = sizeof(pkt_v4), in sanity_run()
|
H A D | map_ptr.c | 17 .data_size_in = sizeof(pkt_v4), in test_map_ptr()
|
H A D | check_mtu.c | 89 .data_size_in = sizeof(pkt_v4), in test_check_mtu_run_xdp() 141 .data_size_in = sizeof(pkt_v4), in test_check_mtu_run_tc()
|
H A D | refcounted_kptr.c | 24 .data_size_in = sizeof(pkt_v4), in test_refcounted_kptr_wrong_owner()
|
H A D | cb_refs.c | 32 .data_size_in = sizeof(pkt_v4), in test_cb_refs()
|