Searched refs:tcx_entry (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/include/net/ |
H A D | tcx.h | 13 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() 135 tcx_entry(entry)->miniq_active++; in tcx_miniq_inc() 141 tcx_entry(entry)->miniq_active--; in tcx_miniq_dec() 147 return bpf_mprog_total(entry) || tcx_entry(entry)->miniq_active; in tcx_entry_is_active()
|
/openbmc/linux/net/sched/ |
H A D | sch_ingress.c | 95 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()
|
/openbmc/linux/kernel/bpf/ |
H A D | tcx.c | 106 active = tcx_entry(entry)->miniq_active; in tcx_uninstall()
|
/openbmc/linux/net/core/ |
H A D | dev.c | 3949 static int tc_run(struct tcx_entry *entry, struct sk_buff *skb) in tc_run() 4033 sch_ret = tc_run(tcx_entry(entry), skb); in sch_handle_ingress() 4084 sch_ret = tc_run(tcx_entry(entry), skb); in sch_handle_egress()
|