tcx_entry
tcx_entry(entry)->miniq_active++;
tcx_entry(entry)->miniq_active--;
return bpf_mprog_total(entry) || tcx_entry(entry)->miniq_active;
static inline struct tcx_entry *tcx_entry(struct bpf_mprog_entry *entry)
return container_of(bundle, struct tcx_entry, bundle);
struct tcx_entry *tcx = kzalloc_noprof(sizeof(*tcx), GFP_KERNEL);
kfree_rcu(tcx_entry(entry), rcu);
active = tcx_entry(entry)->miniq_active;
static int tc_run(struct tcx_entry *entry, struct sk_buff *skb,
sch_ret = tc_run(tcx_entry(entry), skb, &drop_reason);
sch_ret = tc_run(tcx_entry(entry), skb, &drop_reason);
mini_qdisc_pair_init(&q->miniqp_ingress, sch, &tcx_entry(entry)->miniq);
mini_qdisc_pair_init(&q->miniqp_egress, sch, &tcx_entry(entry)->miniq);
mini_qdisc_pair_init(&q->miniqp, sch, &tcx_entry(entry)->miniq);