/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | xdp_adjust_tail.c | 16 .data_size_out = sizeof(buf), in test_xdp_adjust_tail_shrink() 31 topts.data_size_out = sizeof(buf); in test_xdp_adjust_tail_shrink() 35 ASSERT_EQ(topts.data_size_out, expect_sz, "ipv6 size"); in test_xdp_adjust_tail_shrink() 51 .data_size_out = sizeof(buf), in test_xdp_adjust_tail_grow() 66 topts.data_size_out = sizeof(buf); in test_xdp_adjust_tail_grow() 70 ASSERT_EQ(topts.data_size_out, expect_sz, "ipv6 size"); in test_xdp_adjust_tail_grow() 94 .data_size_out = 0, /* Per test */ in test_xdp_adjust_tail_grow2() 104 tattr.data_size_out = 128; /* Limit copy_size */ in test_xdp_adjust_tail_grow2() 176 topts.data_size_out = 9000; in test_xdp_adjust_frags_tail_shrink() 240 topts.data_size_out = 16384; in test_xdp_adjust_frags_tail_grow() [all …]
|
H A D | queue_stack_map.c | 22 .data_size_out = sizeof(buf), in test_queue_stack_map_by_type() 68 topts.data_size_out = sizeof(buf); in test_queue_stack_map_by_type() 71 topts.data_size_out != sizeof(pkt_v4)) in test_queue_stack_map_by_type() 80 ASSERT_EQ(topts.data_size_out, sizeof(pkt_v4), in test_queue_stack_map_by_type() 85 topts.data_size_out = sizeof(buf); in test_queue_stack_map_by_type() 90 ASSERT_EQ(topts.data_size_out, sizeof(pkt_v4), in test_queue_stack_map_by_type()
|
H A D | xdp.c | 21 .data_size_out = sizeof(buf), in test_xdp() 39 ASSERT_EQ(topts.data_size_out, 74, "ipv4 test_run data_size_out"); in test_xdp() 44 topts.data_size_out = sizeof(buf); in test_xdp() 50 ASSERT_EQ(topts.data_size_out, 114, "ipv6 test_run data_size_out"); in test_xdp()
|
H A D | xdp_noinline.c | 36 .data_size_out = sizeof(buf), in test_xdp_noinline() 51 ASSERT_EQ(topts.data_size_out, 54, "ipv4 test_run data_size_out"); in test_xdp_noinline() 57 topts.data_size_out = sizeof(buf); in test_xdp_noinline() 62 ASSERT_EQ(topts.data_size_out, 74, "ipv6 test_run data_size_out"); in test_xdp_noinline()
|
H A D | l4lb_all.c | 33 .data_size_out = sizeof(buf), in test_l4lb() 62 ASSERT_EQ(topts.data_size_out, 54, "ipv4 test_run data_size_out"); in test_l4lb() 67 topts.data_size_out = sizeof(buf); /* reset out size */ in test_l4lb() 72 ASSERT_EQ(topts.data_size_out, 74, "ipv6 test_run data_size_out"); in test_l4lb()
|
H A D | prog_run_opts.c | 35 .data_size_out = 5, in test_prog_run_opts() 53 ASSERT_EQ(topts.data_size_out, sizeof(pkt_v4), "test_run data_size_out"); in test_prog_run_opts() 60 topts.data_size_out = 0; in test_prog_run_opts()
|
H A D | xdp_perf.c | 14 .data_size_out = sizeof(out), in test_xdp_perf() 25 ASSERT_EQ(topts.data_size_out, 128, "test_run data_size_out"); in test_xdp_perf()
|
H A D | flow_dissector_load_bytes.c | 33 .data_size_out = sizeof(flow_keys), in serial_test_flow_dissector_load_bytes() 45 ASSERT_EQ(topts.data_size_out, sizeof(flow_keys), in serial_test_flow_dissector_load_bytes()
|
H A D | xdp_adjust_frags.c | 39 topts.data_size_out = 128; in test_xdp_update_frags() 64 topts.data_size_out = 9000; in test_xdp_update_frags() 132 topts.data_size_out = buf_size; in test_xdp_update_frags()
|
H A D | parse_tcp_hdr_opt.c | 39 .data_size_out = sizeof(buf), in test_parse_opt() 69 .data_size_out = sizeof(buf), in test_parse_opt_dynptr()
|
H A D | xdp_bpf2bpf.c | 79 topts.data_size_out = BUF_SZ; in run_xdp_bpf2bpf_pkt_size() 85 ASSERT_EQ(topts.data_size_out, pkt_size, "ipv4 size"); in run_xdp_bpf2bpf_pkt_size()
|
H A D | pkt_access.c | 26 topts.data_size_out = 0; /* reset from last call */ in test_pkt_access()
|
H A D | map_ptr.c | 19 .data_size_out = sizeof(buf), in test_map_ptr()
|
H A D | check_mtu.c | 91 .data_size_out = sizeof(buf), in test_check_mtu_run_xdp() 143 .data_size_out = sizeof(buf), in test_check_mtu_run_tc()
|
H A D | dynptr.c | 75 .data_size_out = sizeof(buf), in verify_success()
|
H A D | type_cast.c | 17 .data_size_out = sizeof(buf), in test_xdp()
|
H A D | xdp_context_test_run.c | 67 ASSERT_EQ(opts.data_size_out, sizeof(pkt_v4), "valid-datasize"); in test_xdp_context_test_run()
|
H A D | empty_skb.c | 125 tattr.data_size_out = 0; in test_empty_skb()
|
H A D | cls_redirect.c | 167 return tattr->data_size_out < tattr->data_size_in; in was_decapsulated() 412 tattr.data_size_out = sizeof(tmp); in test_cls_redirect_common()
|
/openbmc/linux/tools/lib/bpf/ |
H A D | bpf.h | 448 __u32 data_size_out; /* in: max length of data_out member 617 __u32 data_size_out; /* in: max length of data_out member
|
H A D | bpf.c | 972 attr.test.data_size_out = OPTS_GET(opts, data_size_out, 0); in bpf_prog_test_run_opts() 980 OPTS_SET(opts, data_size_out, attr.test.data_size_out); in bpf_prog_test_run_opts()
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | prog.c | 1311 test_attr.data_size_out = strtoul(*argv, &endptr, 0); in do_run() 1372 if (!test_attr.data_size_out) in do_run() 1373 test_attr.data_size_out = default_size; in do_run() 1374 err = alloc_run_data(&data_out, test_attr.data_size_out); in do_run() 1411 if (test_attr.data_size_out) in do_run() 1413 test_attr.data_size_out, in do_run()
|
/openbmc/linux/net/bpf/ |
H A D | test_run.c | 448 if (kattr->test.data_size_out && in bpf_test_finish() 449 copy_size > kattr->test.data_size_out) { in bpf_test_finish() 450 copy_size = kattr->test.data_size_out; in bpf_test_finish() 490 if (copy_to_user(&uattr->test.data_size_out, &size, sizeof(size))) in bpf_test_finish() 1391 kattr->test.data_size_out) in bpf_prog_test_run_sk_lookup()
|
/openbmc/linux/tools/bpf/bpftool/Documentation/ |
H A D | bpftool-prog.rst | 38 | **bpftool** **prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] … 189 …**bpftool prog run** *PROG* **data_in** *FILE* [**data_out** *FILE* [**data_size_out** *L*]] [**ct… 207 context are discarded. Keywords **data_size_out** and
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | test_loader.c | 492 .data_size_out = sizeof(tmp_out), in do_prog_test_run()
|