Home
last modified time | relevance | path

Searched refs:tcf_block (Results 1 – 23 of 23) sorted by relevance

/Linux-v4.19/include/net/
Dpkt_cls.h43 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block,
46 void tcf_block_netif_keep_dst(struct tcf_block *block);
47 int tcf_block_get(struct tcf_block **p_block,
50 int tcf_block_get_ext(struct tcf_block **p_block, struct Qdisc *q,
53 void tcf_block_put(struct tcf_block *block);
54 void tcf_block_put_ext(struct tcf_block *block, struct Qdisc *q,
57 static inline bool tcf_block_shared(struct tcf_block *block) in tcf_block_shared()
62 static inline struct Qdisc *tcf_block_q(struct tcf_block *block) in tcf_block_q()
68 static inline struct net_device *tcf_block_dev(struct tcf_block *block) in tcf_block_dev()
74 struct tcf_block_cb *tcf_block_cb_lookup(struct tcf_block *block,
[all …]
Dsch_generic.h180 struct tcf_block * (*tcf_block)(struct Qdisc *sch, member
322 struct tcf_block *block;
331 struct tcf_block { struct
348 static inline void tcf_block_offload_inc(struct tcf_block *block, u32 *flags) in tcf_block_offload_inc() argument
356 static inline void tcf_block_offload_dec(struct tcf_block *block, u32 *flags) in tcf_block_offload_dec()
365 tc_cls_offload_cnt_update(struct tcf_block *block, unsigned int *cnt, in tc_cls_offload_cnt_update()
/Linux-v4.19/net/sched/
Dcls_api.c201 static struct tcf_chain *tcf_chain_create(struct tcf_block *block, in tcf_chain_create()
229 struct tcf_block *block = chain->block; in tcf_chain0_head_change()
239 struct tcf_block *block = chain->block; in tcf_chain_destroy()
262 static struct tcf_chain *tcf_chain_lookup(struct tcf_block *block, in tcf_chain_lookup()
277 static struct tcf_chain *__tcf_chain_get(struct tcf_block *block, in __tcf_chain_get()
308 static struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index, in tcf_chain_get()
314 struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block, u32 chain_index) in tcf_chain_get_by_act()
368 static bool tcf_block_offload_in_use(struct tcf_block *block) in tcf_block_offload_in_use()
373 static int tcf_block_offload_cmd(struct tcf_block *block, in tcf_block_offload_cmd()
388 static int tcf_block_offload_bind(struct tcf_block *block, struct Qdisc *q, in tcf_block_offload_bind()
[all …]
Dsch_ingress.c22 struct tcf_block *block;
51 static struct tcf_block *ingress_tcf_block(struct Qdisc *sch, unsigned long cl, in ingress_tcf_block()
124 .tcf_block = ingress_tcf_block,
143 struct tcf_block *ingress_block;
144 struct tcf_block *egress_block;
168 static struct tcf_block *clsact_tcf_block(struct Qdisc *sch, unsigned long cl, in clsact_tcf_block()
256 .tcf_block = clsact_tcf_block,
Dcls_matchall.c68 struct tcf_block *block = tp->chain->block; in mall_destroy_hw_filter()
84 struct tcf_block *block = tp->chain->block; in mall_replace_hw_filter()
247 struct tcf_block *block = tp->chain->block; in mall_reoffload()
Dsch_multiq.c35 struct tcf_block *block;
374 static struct tcf_block *multiq_tcf_block(struct Qdisc *sch, unsigned long cl, in multiq_tcf_block()
389 .tcf_block = multiq_tcf_block,
Dsch_prio.c28 struct tcf_block *block;
427 static struct tcf_block *prio_tcf_block(struct Qdisc *sch, unsigned long cl, in prio_tcf_block()
442 .tcf_block = prio_tcf_block,
Dsch_drr.c38 struct tcf_block *block;
184 static struct tcf_block *drr_tcf_block(struct Qdisc *sch, unsigned long cl, in drr_tcf_block()
478 .tcf_block = drr_tcf_block,
Dsch_dsmark.c47 struct tcf_block *block;
189 static struct tcf_block *dsmark_tcf_block(struct Qdisc *sch, unsigned long cl, in dsmark_tcf_block()
481 .tcf_block = dsmark_tcf_block,
Dsch_sfb.c59 struct tcf_block *block;
671 static struct tcf_block *sfb_tcf_block(struct Qdisc *sch, unsigned long cl, in sfb_tcf_block()
695 .tcf_block = sfb_tcf_block,
Dsch_atm.c47 struct tcf_block *block;
363 static struct tcf_block *atm_tc_tcf_block(struct Qdisc *sch, unsigned long cl, in atm_tc_tcf_block()
672 .tcf_block = atm_tc_tcf_block,
Dcls_bpf.c151 struct tcf_block *block = tp->chain->block; in cls_bpf_offload_cmd()
227 struct tcf_block *block = tp->chain->block; in cls_bpf_offload_update_stats()
659 struct tcf_block *block = tp->chain->block; in cls_bpf_reoffload()
Dcls_u32.c333 struct tcf_block *block = tp->chain->block; in tc_u_common_ptr()
491 struct tcf_block *block = tp->chain->block; in u32_clear_hw_hnode()
506 struct tcf_block *block = tp->chain->block; in u32_replace_hw_hnode()
535 struct tcf_block *block = tp->chain->block; in u32_remove_hw_knode()
550 struct tcf_block *block = tp->chain->block; in u32_replace_hw_knode()
1235 struct tcf_block *block = tp->chain->block; in u32_reoffload_knode()
Dsch_fq_codel.c58 struct tcf_block *block;
612 static struct tcf_block *fq_codel_tcf_block(struct Qdisc *sch, unsigned long cl, in fq_codel_tcf_block()
701 .tcf_block = fq_codel_tcf_block,
Dsch_sfq.c129 struct tcf_block *block;
840 static struct tcf_block *sfq_tcf_block(struct Qdisc *sch, unsigned long cl, in sfq_tcf_block()
902 .tcf_block = sfq_tcf_block,
Dsch_htb.c108 struct tcf_block *block;
159 struct tcf_block *block;
1521 static struct tcf_block *htb_tcf_block(struct Qdisc *sch, unsigned long arg, in htb_tcf_block()
1589 .tcf_block = htb_tcf_block,
Dcls_flower.c286 struct tcf_block *block = tp->chain->block; in fl_hw_destroy_filter()
302 struct tcf_block *block = tp->chain->block; in fl_hw_replace_filter()
334 struct tcf_block *block = tp->chain->block; in fl_hw_update_stats()
1325 struct tcf_block *block = tp->chain->block; in fl_reoffload()
1365 struct tcf_block *block = chain->block; in fl_hw_create_tmplt()
1387 struct tcf_block *block = chain->block; in fl_hw_destroy_tmplt()
Dsch_qfq.c184 struct tcf_block *block;
568 static struct tcf_block *qfq_tcf_block(struct Qdisc *sch, unsigned long cl, in qfq_tcf_block()
1500 .tcf_block = qfq_tcf_block,
Dsch_hfsc.c118 struct tcf_block *block;
1250 static struct tcf_block *hfsc_tcf_block(struct Qdisc *sch, unsigned long arg, in hfsc_tcf_block()
1662 .tcf_block = hfsc_tcf_block,
Dsch_cbq.c130 struct tcf_block *block;
1706 static struct tcf_block *cbq_tcf_block(struct Qdisc *sch, unsigned long arg, in cbq_tcf_block()
1773 .tcf_block = cbq_tcf_block,
Dsch_api.c160 if (cops->tcf_block && !(cops->bind_tcf && cops->unbind_tcf)) in register_qdisc()
1828 struct tcf_block *block; in tc_bind_tclass()
1835 block = cops->tcf_block(q, cl, NULL); in tc_bind_tclass()
Dsch_cake.c202 struct tcf_block *block;
2876 static struct tcf_block *cake_tcf_block(struct Qdisc *sch, unsigned long cl, in cake_tcf_block()
2996 .tcf_block = cake_tcf_block,
/Linux-v4.19/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum.c1502 struct tcf_block *block, bool ingress, in mlxsw_sp_setup_tc_block_flower_bind()
1550 struct tcf_block *block, bool ingress) in mlxsw_sp_setup_tc_block_flower_unbind()