Home
last modified time | relevance | path

Searched refs:bpf_mprog_entry (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/include/linux/
H A Dbpf_mprog.h139 struct bpf_mprog_entry { struct
145 struct bpf_mprog_entry a; argument
146 struct bpf_mprog_entry b;
158 static inline struct bpf_mprog_entry *
159 bpf_mprog_peer(const struct bpf_mprog_entry *entry) in bpf_mprog_peer()
254 struct bpf_mprog_entry *src) in bpf_mprog_entry_copy()
265 struct bpf_mprog_entry **entry_new) in bpf_mprog_clear_all()
267 struct bpf_mprog_entry *peer; in bpf_mprog_clear_all()
321 struct bpf_mprog_entry **entry_new,
327 struct bpf_mprog_entry **entry_new,
[all …]
H A Dnetdevice.h2259 struct bpf_mprog_entry __rcu *tcx_ingress;
2288 struct bpf_mprog_entry __rcu *tcx_egress;
/openbmc/linux/include/net/
H A Dtcx.h34 static inline struct tcx_entry *tcx_entry(struct bpf_mprog_entry *entry) in tcx_entry()
63 tcx_entry_update(struct net_device *dev, struct bpf_mprog_entry *entry, in tcx_entry_update()
73 static inline struct bpf_mprog_entry *
83 static inline struct bpf_mprog_entry *tcx_entry_create(void) in tcx_entry_create()
94 static inline void tcx_entry_free(struct bpf_mprog_entry *entry) in tcx_entry_free()
99 static inline struct bpf_mprog_entry *
102 struct bpf_mprog_entry *entry = tcx_entry_fetch(dev, ingress); in tcx_entry_fetch_or_create()
132 static inline void tcx_miniq_set_active(struct bpf_mprog_entry *entry, in tcx_miniq_set_active()
139 static inline bool tcx_entry_is_active(struct bpf_mprog_entry *entry) in tcx_entry_is_active()
/openbmc/linux/kernel/bpf/
H A Dmprog.c109 struct bpf_mprog_entry **entry_new, in bpf_mprog_replace()
127 static int bpf_mprog_insert(struct bpf_mprog_entry *entry, in bpf_mprog_insert()
128 struct bpf_mprog_entry **entry_new, in bpf_mprog_insert()
132 struct bpf_mprog_entry *peer; in bpf_mprog_insert()
152 struct bpf_mprog_entry **entry_new, in bpf_mprog_delete()
156 struct bpf_mprog_entry *peer; in bpf_mprog_delete()
225 int bpf_mprog_attach(struct bpf_mprog_entry *entry, in bpf_mprog_attach()
226 struct bpf_mprog_entry **entry_new, in bpf_mprog_attach()
328 int bpf_mprog_detach(struct bpf_mprog_entry *entry, in bpf_mprog_detach()
329 struct bpf_mprog_entry **entry_new, in bpf_mprog_detach()
[all …]
H A Dtcx.c14 struct bpf_mprog_entry *entry, *entry_new; in tcx_prog_attach()
63 struct bpf_mprog_entry *entry, *entry_new; in tcx_prog_detach()
97 struct bpf_mprog_entry *entry, *entry_new = NULL; in tcx_uninstall()
146 struct bpf_mprog_entry *entry, *entry_new; in tcx_link_prog_attach()
173 struct bpf_mprog_entry *entry, *entry_new; in tcx_link_release()
208 struct bpf_mprog_entry *entry, *entry_new; in tcx_link_update()
/openbmc/linux/net/sched/
H A Dsch_ingress.c82 struct bpf_mprog_entry *entry; in ingress_init()
116 struct bpf_mprog_entry *entry = rtnl_dereference(dev->tcx_ingress); in ingress_destroy()
246 struct bpf_mprog_entry *entry; in clsact_init()
294 struct bpf_mprog_entry *ingress_entry = rtnl_dereference(dev->tcx_ingress); in clsact_destroy()
295 struct bpf_mprog_entry *egress_entry = rtnl_dereference(dev->tcx_egress); in clsact_destroy()
/openbmc/linux/net/core/
H A Ddev.c3987 tcx_run(const struct bpf_mprog_entry *entry, struct sk_buff *skb, in tcx_run()
4011 struct bpf_mprog_entry *entry = rcu_dereference_bh(skb->dev->tcx_ingress); in sch_handle_ingress()
4066 struct bpf_mprog_entry *entry = rcu_dereference_bh(dev->tcx_egress); in sch_handle_egress()