Home
last modified time | relevance | path

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

/linux-6.15/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.h2116 struct bpf_mprog_entry __rcu *tcx_egress;
2150 struct bpf_mprog_entry __rcu *tcx_ingress;
/linux-6.15/include/net/
H A Dtcx.h34 static inline struct tcx_entry *tcx_entry(struct bpf_mprog_entry *entry) in tcx_entry()
58 tcx_entry_update(struct net_device *dev, struct bpf_mprog_entry *entry, in tcx_entry_update()
68 static inline struct bpf_mprog_entry *
78 static inline struct bpf_mprog_entry *tcx_entry_create_noprof(void) in tcx_entry_create_noprof()
90 static inline void tcx_entry_free(struct bpf_mprog_entry *entry) in tcx_entry_free()
95 static inline struct bpf_mprog_entry *
98 struct bpf_mprog_entry *entry = tcx_entry_fetch(dev, ingress); in tcx_entry_fetch_or_create()
128 static inline void tcx_miniq_inc(struct bpf_mprog_entry *entry) in tcx_miniq_inc()
134 static inline void tcx_miniq_dec(struct bpf_mprog_entry *entry) in tcx_miniq_dec()
140 static inline bool tcx_entry_is_active(struct bpf_mprog_entry *entry) in tcx_entry_is_active()
/linux-6.15/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()
/linux-6.15/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()
247 struct bpf_mprog_entry *entry; in clsact_init()
295 struct bpf_mprog_entry *ingress_entry = rtnl_dereference(dev->tcx_ingress); in clsact_destroy()
296 struct bpf_mprog_entry *egress_entry = rtnl_dereference(dev->tcx_egress); in clsact_destroy()
/linux-6.15/drivers/net/
H A Dnetkit.c21 struct bpf_mprog_entry __rcu *active;
39 netkit_run(const struct bpf_mprog_entry *entry, struct sk_buff *skb, in netkit_run()
84 const struct bpf_mprog_entry *entry; in netkit_xmit()
471 struct bpf_mprog_entry *entry; in netkit_entry_fetch()
483 struct bpf_mprog_entry *entry) in netkit_entry_update()
530 struct bpf_mprog_entry *entry, *entry_new; in netkit_prog_attach()
571 struct bpf_mprog_entry *entry, *entry_new; in netkit_prog_detach()
629 struct bpf_mprog_entry *entry, *entry_new; in netkit_link_prog_attach()
650 struct bpf_mprog_entry *entry, *entry_new; in netkit_link_release()
681 struct bpf_mprog_entry *entry, *entry_new; in netkit_link_update()
[all …]
/linux-6.15/Documentation/networking/net_cachelines/
H A Dnet_device.rst109 struct bpf_mprog_entry tcx_ingress read_mostly …
121 struct bpf_mprog_entry tcx_egress read_mostly …
/linux-6.15/net/core/
H A Ddev.c4234 tcx_run(const struct bpf_mprog_entry *entry, struct sk_buff *skb, in tcx_run()
4258 struct bpf_mprog_entry *entry = rcu_dereference_bh(skb->dev->tcx_ingress); in sch_handle_ingress()
4321 struct bpf_mprog_entry *entry = rcu_dereference_bh(dev->tcx_egress); in sch_handle_egress()