Searched refs:cubic_skel (Results 1 – 2 of 2) sorted by relevance
185 struct bpf_cubic *cubic_skel = NULL; in serial_test_bpf_iter_setsockopt() local202 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()
173 struct bpf_cubic *cubic_skel; in test_cubic() local176 cubic_skel = bpf_cubic__open_and_load(); in test_cubic()177 if (CHECK(!cubic_skel, "bpf_cubic__open_and_load", "failed\n")) in test_cubic()180 link = bpf_map__attach_struct_ops(cubic_skel->maps.cubic); in test_cubic()182 bpf_cubic__destroy(cubic_skel); in test_cubic()188 ASSERT_EQ(cubic_skel->bss->bpf_cubic_acked_called, 1, "pkts_acked called"); in test_cubic()191 bpf_cubic__destroy(cubic_skel); in test_cubic()