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()
192 u32 flags = 0; in mall_change() local
207 flags = nla_get_u32(tb[TCA_MATCHALL_FLAGS]); in mall_change()
208 if (!tc_flags_valid(flags)) in mall_change()
223 new->flags = flags; in mall_change()
235 if (!tc_skip_hw(new->flags)) { in mall_change()
242 if (!tc_in_hw(new->flags)) in mall_change()
243 new->flags |= TCA_CLS_FLAGS_NOT_IN_HW; in mall_change()
293 if (tc_skip_hw(head->flags)) in mall_reoffload()
300 tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, extack); in mall_reoffload()
308 if (add && tc_skip_sw(head->flags)) { in mall_reoffload()
316 &cls_mall, cb_priv, &head->flags, in mall_reoffload()
334 tc_cls_common_offload_init(&cls_mall.common, tp, head->flags, NULL); in mall_stats_hw_filter()
355 if (!tc_skip_hw(head->flags)) in mall_dump()
368 if (head->flags && nla_put_u32(skb, TCA_MATCHALL_FLAGS, head->flags)) in mall_dump()