Home
last modified time | relevance | path

Searched refs:dctcp_skel (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_tcp_ca.c155 struct bpf_dctcp *dctcp_skel; in test_dctcp() local
158 dctcp_skel = bpf_dctcp__open_and_load(); in test_dctcp()
159 if (!ASSERT_OK_PTR(dctcp_skel, "bpf_dctcp__open_and_load")) in test_dctcp()
162 link = bpf_map__attach_struct_ops(dctcp_skel->maps.dctcp); in test_dctcp()
164 bpf_dctcp__destroy(dctcp_skel); in test_dctcp()
168 cb_opts.map_fd = bpf_map__fd(dctcp_skel->maps.sk_stg_map); in test_dctcp()
178 ASSERT_EQ(dctcp_skel->bss->stg_result, expected_stg, "stg_result"); in test_dctcp()
182 bpf_dctcp__destroy(dctcp_skel); in test_dctcp()
198 struct bpf_dctcp *dctcp_skel; in test_dctcp_autoattach_map() local
201 dctcp_skel = bpf_dctcp__open_and_load(); in test_dctcp_autoattach_map()
[all …]
H A Dbpf_iter_setsockopt.c186 struct bpf_dctcp *dctcp_skel = NULL; in serial_test_bpf_iter_setsockopt() local
210 dctcp_skel = bpf_dctcp__open_and_load(); in serial_test_bpf_iter_setsockopt()
211 if (!ASSERT_OK_PTR(dctcp_skel, "dctcp_skel")) in serial_test_bpf_iter_setsockopt()
213 dctcp_link = bpf_map__attach_struct_ops(dctcp_skel->maps.dctcp); in serial_test_bpf_iter_setsockopt()
224 bpf_dctcp__destroy(dctcp_skel); in serial_test_bpf_iter_setsockopt()