Home
last modified time | relevance | path

Searched refs:bpf_dtab_netdev (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/kernel/bpf/
Ddevmap.c65 struct bpf_dtab_netdev { struct
75 struct bpf_dtab_netdev **netdev_map; argument
109 cost = (u64) dtab->map.max_entries * sizeof(struct bpf_dtab_netdev *); in dev_map_alloc()
131 sizeof(struct bpf_dtab_netdev *), in dev_map_alloc()
180 struct bpf_dtab_netdev *dev; in dev_map_free()
220 static int bq_xmit_all(struct bpf_dtab_netdev *obj, in bq_xmit_all()
282 struct bpf_dtab_netdev *dev = READ_ONCE(dtab->netdev_map[bit]); in __dev_map_flush()
302 struct bpf_dtab_netdev *__dev_map_lookup_elem(struct bpf_map *map, u32 key) in __dev_map_lookup_elem()
305 struct bpf_dtab_netdev *obj; in __dev_map_lookup_elem()
317 static int bq_enqueue(struct bpf_dtab_netdev *obj, struct xdp_frame *xdpf, in bq_enqueue()
[all …]
/Linux-v4.19/include/linux/
Dbpf.h510 struct bpf_dtab_netdev *__dev_map_lookup_elem(struct bpf_map *map, u32 key);
513 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp,
515 int dev_map_generic_redirect(struct bpf_dtab_netdev *dst, struct sk_buff *skb,
601 struct bpf_dtab_netdev;
604 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue()
612 static inline int dev_map_generic_redirect(struct bpf_dtab_netdev *dst, in dev_map_generic_redirect()
/Linux-v4.19/net/core/
Dfilter.c3188 struct bpf_dtab_netdev *dst = fwd; in __bpf_tx_xdp_map()
3355 struct bpf_dtab_netdev *dst = fwd; in xdp_do_generic_redirect_map()