Home
last modified time | relevance | path

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

12

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
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()
110 ASSERT_EQ(tattr.data_size_out, 192, "case-64 data_size_out"); /* Expected grow size */ in test_xdp_adjust_tail_grow2()
123 tattr.data_size_out = sizeof(buf); /* Copy everything */ in test_xdp_adjust_tail_grow2()
[all …]
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()
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()
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()
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()
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()
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()
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()
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()
Dparse_tcp_hdr_opt.c38 .data_size_out = sizeof(buf), in test_parse_opt()
68 .data_size_out = sizeof(buf), in test_parse_opt_dynptr()
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()
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()
Dpkt_access.c26 topts.data_size_out = 0; /* reset from last call */ in test_pkt_access()
Dmap_ptr.c19 .data_size_out = sizeof(buf), in test_map_ptr()
Ddynptr.c75 .data_size_out = sizeof(buf), in verify_success()
Dtype_cast.c17 .data_size_out = sizeof(buf), in test_xdp()
Dxdp_context_test_run.c67 ASSERT_EQ(opts.data_size_out, sizeof(pkt_v4), "valid-datasize"); in test_xdp_context_test_run()
Dempty_skb.c125 tattr.data_size_out = 0; in test_empty_skb()
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()
/Linux-v6.6/tools/lib/bpf/
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
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()
/Linux-v6.6/tools/bpf/bpftool/
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()
/Linux-v6.6/net/bpf/
Dtest_run.c447 if (kattr->test.data_size_out && in bpf_test_finish()
448 copy_size > kattr->test.data_size_out) { in bpf_test_finish()
449 copy_size = kattr->test.data_size_out; in bpf_test_finish()
489 if (copy_to_user(&uattr->test.data_size_out, &size, sizeof(size))) in bpf_test_finish()
1384 kattr->test.data_size_out) in bpf_prog_test_run_sk_lookup()
/Linux-v6.6/tools/bpf/bpftool/Documentation/
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
/Linux-v6.6/tools/testing/selftests/bpf/
Dtest_loader.c492 .data_size_out = sizeof(tmp_out), in do_prog_test_run()

12