Lines Matching refs:flags
20 u32 flags; member
35 if (tc_skip_sw(head->flags)) in mall_classify()
74 tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); in mall_destroy_hw_filter()
79 &head->flags, &head->in_hw_count, true); in mall_destroy_hw_filter()
89 bool skip_sw = tc_skip_sw(head->flags); in mall_replace_hw_filter()
96 tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); in mall_replace_hw_filter()
113 skip_sw, &head->flags, &head->in_hw_count, true); in mall_replace_hw_filter()
122 if (skip_sw && !(head->flags & TCA_CLS_FLAGS_IN_HW)) in mall_replace_hw_filter()
138 if (!tc_skip_hw(head->flags)) in mall_destroy()
191 u32 flags = 0; in mall_change() local
206 flags = nla_get_u32(tb[TCA_MATCHALL_FLAGS]); in mall_change()
207 if (!tc_flags_valid(flags)) in mall_change()
222 new->flags = flags; in mall_change()
234 if (!tc_skip_hw(new->flags)) { in mall_change()
241 if (!tc_in_hw(new->flags)) in mall_change()
242 new->flags |= TCA_CLS_FLAGS_NOT_IN_HW; in mall_change()
292 if (tc_skip_hw(head->flags)) in mall_reoffload()
299 tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); in mall_reoffload()
307 if (add && tc_skip_sw(head->flags)) { in mall_reoffload()
315 &cls_mall, cb_priv, &head->flags, in mall_reoffload()
333 tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, NULL); in mall_stats_hw_filter()
354 if (!tc_skip_hw(head->flags)) in mall_dump()
367 if (head->flags && nla_put_u32(skb, TCA_MATCHALL_FLAGS, head->flags)) in mall_dump()