Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_tcp_ca.c196 struct bpf_dctcp *dctcp_skel; in test_dctcp() local
199 dctcp_skel = bpf_dctcp__open_and_load(); 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()
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
271 dctcp_skel = bpf_dctcp__open(); in test_dctcp_fallback()
272 if (!ASSERT_OK_PTR(dctcp_skel, "dctcp_skel")) in test_dctcp_fallback()
274 strcpy(dctcp_skel->rodata->fallback, "cubic"); in test_dctcp_fallback()
[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()