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/
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()
A Dbpf_tcp_ca.c102 struct bpf_cubic *cubic_skel; in test_cubic() local
105 cubic_skel = bpf_cubic__open_and_load(); in test_cubic()
106 if (!ASSERT_OK_PTR(cubic_skel, "bpf_cubic__open_and_load")) in test_cubic()
109 link = bpf_map__attach_struct_ops(cubic_skel->maps.cubic); in test_cubic()
111 bpf_cubic__destroy(cubic_skel); in test_cubic()
117 ASSERT_EQ(cubic_skel->bss->bpf_cubic_acked_called, 1, "pkts_acked called"); in test_cubic()
120 bpf_cubic__destroy(cubic_skel); in test_cubic()

Completed in 6 milliseconds