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.c154 struct bpf_dctcp *dctcp_skel; in test_dctcp() local
157 dctcp_skel = bpf_dctcp__open_and_load(); in test_dctcp()
158 if (!ASSERT_OK_PTR(dctcp_skel, "bpf_dctcp__open_and_load")) in test_dctcp()
161 link = bpf_map__attach_struct_ops(dctcp_skel->maps.dctcp); in test_dctcp()
163 bpf_dctcp__destroy(dctcp_skel); in test_dctcp()
167 cb_opts.map_fd = bpf_map__fd(dctcp_skel->maps.sk_stg_map); in test_dctcp()
177 ASSERT_EQ(dctcp_skel->bss->stg_result, expected_stg, "stg_result"); in test_dctcp()
181 bpf_dctcp__destroy(dctcp_skel); in test_dctcp()
197 struct bpf_dctcp *dctcp_skel; in test_dctcp_autoattach_map() local
200 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()