Home
last modified time | relevance | path

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

/Linux-v6.6/tools/testing/selftests/bpf/prog_tests/
Dbpf_tcp_ca.c196 struct bpf_dctcp *dctcp_skel; in test_dctcp() local
199 dctcp_skel = bpf_dctcp__open_and_load(); in test_dctcp()
200 if (CHECK(!dctcp_skel, "bpf_dctcp__open_and_load", "failed\n")) in test_dctcp()
203 link = bpf_map__attach_struct_ops(dctcp_skel->maps.dctcp); in test_dctcp()
205 bpf_dctcp__destroy(dctcp_skel); in test_dctcp()
209 do_test("bpf_dctcp", dctcp_skel->maps.sk_stg_map); in test_dctcp()
210 CHECK(dctcp_skel->bss->stg_result != expected_stg, in test_dctcp()
212 dctcp_skel->bss->stg_result, expected_stg); in test_dctcp()
215 bpf_dctcp__destroy(dctcp_skel); in test_dctcp()
266 struct bpf_dctcp *dctcp_skel; in test_dctcp_fallback() local
[all …]
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()