Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dbpf_iter_setsockopt.c185 struct bpf_cubic *cubic_skel = NULL; in serial_test_bpf_iter_setsockopt() local
202 cubic_skel = bpf_cubic__open_and_load(); in serial_test_bpf_iter_setsockopt()
203 if (!ASSERT_OK_PTR(cubic_skel, "cubic_skel")) in serial_test_bpf_iter_setsockopt()
205 cubic_link = bpf_map__attach_struct_ops(cubic_skel->maps.cubic); in serial_test_bpf_iter_setsockopt()
223 bpf_cubic__destroy(cubic_skel); in serial_test_bpf_iter_setsockopt()
H A Dbpf_tcp_ca.c86 struct bpf_cubic *cubic_skel; in test_cubic() local
89 cubic_skel = bpf_cubic__open_and_load(); in test_cubic()
90 if (!ASSERT_OK_PTR(cubic_skel, "bpf_cubic__open_and_load")) in test_cubic()
93 link = bpf_map__attach_struct_ops(cubic_skel->maps.cubic); in test_cubic()
95 bpf_cubic__destroy(cubic_skel); in test_cubic()
101 ASSERT_EQ(cubic_skel->bss->bpf_cubic_acked_called, 1, "pkts_acked called"); in test_cubic()
104 bpf_cubic__destroy(cubic_skel); in test_cubic()