Home
last modified time | relevance | path

Searched refs:in_hw_count (Results 1 – 8 of 8) sorted by relevance

/openbmc/linux/net/sched/
H A Dact_api.c138 act->in_hw_count = hw_count; in offload_action_hw_count_set()
144 act->in_hw_count += hw_count; in offload_action_hw_count_inc()
150 act->in_hw_count = act->in_hw_count > hw_count ? in offload_action_hw_count_dec()
151 act->in_hw_count - hw_count : 0; in offload_action_hw_count_dec()
256 u32 in_hw_count = 0; in tcf_action_offload_add_ex() local
280 cb ? offload_action_hw_count_inc(action, in_hw_count) : in tcf_action_offload_add_ex()
281 offload_action_hw_count_set(action, in_hw_count); in tcf_action_offload_add_ex()
334 u32 in_hw_count = 0; in tcf_action_offload_del_ex() local
348 if (!cb && action->in_hw_count != in_hw_count) in tcf_action_offload_del_ex()
352 if (cb && in_hw_count) in tcf_action_offload_del_ex()
[all …]
H A Dcls_bpf.c44 unsigned int in_hw_count; member
169 &oldprog->in_hw_count, in cls_bpf_offload_cmd()
170 &prog->gen_flags, &prog->in_hw_count, in cls_bpf_offload_cmd()
175 &prog->in_hw_count, true); in cls_bpf_offload_cmd()
179 &oldprog->in_hw_count, true); in cls_bpf_offload_cmd()
674 &prog->in_hw_count); in cls_bpf_reoffload()
H A Dcls_matchall.c22 unsigned int in_hw_count; member
81 &head->flags, &head->in_hw_count, true); in mall_destroy_hw_filter()
112 skip_sw, &head->flags, &head->in_hw_count, true); in mall_replace_hw_filter()
303 &head->in_hw_count); in mall_reoffload()
H A Dcls_u32.c57 unsigned int in_hw_count; member
532 &n->flags, &n->in_hw_count, true); in u32_remove_hw_knode()
562 &n->flags, &n->in_hw_count, true); in u32_replace_hw_knode()
1271 &n->in_hw_count); in u32_reoffload_knode()
H A Dcls_api.c3536 u32 *flags, unsigned int *in_hw_count, bool rtnl_held) in tc_setup_cb_add() argument
3568 tc_cls_offload_cnt_update(block, tp, in_hw_count, flags, in tc_setup_cb_add()
3640 u32 *flags, unsigned int *in_hw_count, bool rtnl_held) in tc_setup_cb_destroy() argument
3661 tc_cls_offload_cnt_reset(block, tp, in_hw_count, flags); in tc_setup_cb_destroy()
3675 void *cb_priv, u32 *flags, unsigned int *in_hw_count) in tc_setup_cb_reoffload() argument
3683 tc_cls_offload_cnt_update(block, tp, in_hw_count, flags, 1, in tc_setup_cb_reoffload()
H A Dcls_flower.c125 u32 in_hw_count; member
448 &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_destroy_filter()
482 skip_sw, &f->flags, &f->in_hw_count, rtnl_held); in fl_hw_replace_filter()
2596 &f->in_hw_count); in fl_reoffload()
3531 if (nla_put_u32(skb, TCA_FLOWER_IN_HW_COUNT, f->in_hw_count)) in fl_dump()
/openbmc/linux/include/net/
H A Dpkt_cls.h277 return !!act->in_hw_count; in tc_act_in_hw()
586 u32 *flags, unsigned int *in_hw_count, bool rtnl_held);
594 u32 *flags, unsigned int *in_hw_count, bool rtnl_held);
598 void *cb_priv, u32 *flags, unsigned int *in_hw_count);
H A Dact_api.h48 u32 in_hw_count; member