Lines Matching full:priority

12 	DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1);                                   \
14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \
16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \
17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \
18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \
19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \
21 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpfi, .handle = 1, .priority = 1, .prog_fd = __fd, \
23 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_prio_max, .handle = 1, .priority = UINT16_MAX + 1);
27 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in test_tc_bpf_basic()
41 !ASSERT_EQ(opts.priority, 1, "priority set") || in test_tc_bpf_basic()
57 !ASSERT_EQ(opts.priority, 1, "priority set") || in test_tc_bpf_basic()
70 DECLARE_LIBBPF_OPTS(bpf_tc_opts, attach_opts, .handle = 1, .priority = 1, .prog_fd = fd); in test_tc_bpf_api()
72 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1); in test_tc_bpf_api()
229 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_detach invalid priority unset")) in test_tc_bpf_api()
233 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_detach invalid priority > UINT16_MAX")) in test_tc_bpf_api()
266 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_query invalid priority unset")) in test_tc_bpf_api()
270 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_query invalid priority > UINT16_MAX")) in test_tc_bpf_api()
275 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_query valid handle, priority set")) in test_tc_bpf_api()
311 if (!ASSERT_OK(ret, "bpf_tc_attach valid priority unset")) in test_tc_bpf_api()
317 if (!ASSERT_EQ(ret, -EINVAL, "bpf_tc_attach invalid priority > UINT16_MAX")) in test_tc_bpf_api()
321 if (!ASSERT_OK(ret, "bpf_tc_attach valid both handle and priority unset")) in test_tc_bpf_api()