Lines Matching refs:priority
563 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16); in __get_tc_info()
607 __u32 protocol, bpf_flags, handle, priority, parent, prog_id, flags; in bpf_tc_attach() local
623 priority = OPTS_GET(opts, priority, 0); in bpf_tc_attach()
630 if (priority > UINT16_MAX) in bpf_tc_attach()
646 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_attach()
682 __u32 protocol = 0, handle, priority, parent, prog_id, flags; in __bpf_tc_detach() local
696 priority = OPTS_GET(opts, priority, 0); in __bpf_tc_detach()
703 if (priority > UINT16_MAX) in __bpf_tc_detach()
706 if (!handle || !priority) in __bpf_tc_detach()
710 if (handle || priority) in __bpf_tc_detach()
722 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in __bpf_tc_detach()
753 __u32 protocol, handle, priority, parent, prog_id, flags; in bpf_tc_query() local
768 priority = OPTS_GET(opts, priority, 0); in bpf_tc_query()
774 !handle || !priority) in bpf_tc_query()
776 if (priority > UINT16_MAX) in bpf_tc_query()
788 req.tc.tcm_info = TC_H_MAKE(priority << 16, htons(protocol)); in bpf_tc_query()