Home
last modified time | relevance | path

Searched refs:data_size_out (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_adjust_tail.c16 .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 Dqueue_stack_map.c22 .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 Dxdp.c21 .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 Dxdp_noinline.c36 .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 Dl4lb_all.c33 .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 Dprog_run_opts.c35 .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 Dxdp_perf.c14 .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 Dflow_dissector_load_bytes.c33 .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 Dxdp_adjust_frags.c39 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 Dparse_tcp_hdr_opt.c39 .data_size_out = sizeof(buf), in test_parse_opt()
69 .data_size_out = sizeof(buf), in test_parse_opt_dynptr()
H A Dxdp_bpf2bpf.c79 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 Dpkt_access.c26 topts.data_size_out = 0; /* reset from last call */ in test_pkt_access()
H A Dmap_ptr.c19 .data_size_out = sizeof(buf), in test_map_ptr()
H A Dcheck_mtu.c91 .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 Ddynptr.c75 .data_size_out = sizeof(buf), in verify_success()
H A Dtype_cast.c17 .data_size_out = sizeof(buf), in test_xdp()
H A Dxdp_context_test_run.c67 ASSERT_EQ(opts.data_size_out, sizeof(pkt_v4), "valid-datasize"); in test_xdp_context_test_run()
H A Dempty_skb.c125 tattr.data_size_out = 0; in test_empty_skb()
H A Dcls_redirect.c167 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 Dbpf.h448 __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 Dbpf.c972 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 Dprog.c1311 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 Dtest_run.c448 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 Dbpftool-prog.rst38 | **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 Dtest_loader.c492 .data_size_out = sizeof(tmp_out), in do_prog_test_run()

12