Home
last modified time | relevance | path

Searched refs:tcx_entry (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.6/include/net/
Dtcx.h13 struct tcx_entry { struct
34 static inline struct tcx_entry *tcx_entry(struct bpf_mprog_entry *entry) in tcx_entry() argument
38 return container_of(bundle, struct tcx_entry, bundle); in tcx_entry()
85 struct tcx_entry *tcx = kzalloc(sizeof(*tcx), GFP_KERNEL); in tcx_entry_create()
96 kfree_rcu(tcx_entry(entry), rcu); in tcx_entry_free()
136 tcx_entry(entry)->miniq_active = active; in tcx_miniq_set_active()
142 return bpf_mprog_total(entry) || tcx_entry(entry)->miniq_active; in tcx_entry_is_active()
/Linux-v6.6/net/sched/
Dsch_ingress.c95 mini_qdisc_pair_init(&q->miniqp, sch, &tcx_entry(entry)->miniq); in ingress_init()
260 mini_qdisc_pair_init(&q->miniqp_ingress, sch, &tcx_entry(entry)->miniq); in clsact_init()
279 mini_qdisc_pair_init(&q->miniqp_egress, sch, &tcx_entry(entry)->miniq); in clsact_init()
/Linux-v6.6/kernel/bpf/
Dtcx.c106 active = tcx_entry(entry)->miniq_active; in tcx_uninstall()
/Linux-v6.6/net/core/
Ddev.c3942 static int tc_run(struct tcx_entry *entry, struct sk_buff *skb) in tc_run()
4026 sch_ret = tc_run(tcx_entry(entry), skb); in sch_handle_ingress()
4077 sch_ret = tc_run(tcx_entry(entry), skb); in sch_handle_egress()