Home
last modified time | relevance | path

Searched refs:xdp (Results 1 – 8 of 8) sorted by relevance

/linux-4.19.296/include/net/
Dxdp.h96 struct xdp_frame *convert_to_xdp_frame(struct xdp_buff *xdp) in convert_to_xdp_frame() argument
103 if (xdp->rxq->mem.type == MEM_TYPE_ZERO_COPY) in convert_to_xdp_frame()
107 headroom = xdp->data - xdp->data_hard_start; in convert_to_xdp_frame()
108 metasize = xdp->data - xdp->data_meta; in convert_to_xdp_frame()
114 xdp_frame = xdp->data_hard_start; in convert_to_xdp_frame()
116 xdp_frame->data = xdp->data; in convert_to_xdp_frame()
117 xdp_frame->len = xdp->data_end - xdp->data; in convert_to_xdp_frame()
122 xdp_frame->mem = xdp->rxq->mem; in convert_to_xdp_frame()
129 void xdp_return_buff(struct xdp_buff *xdp);
143 xdp_set_data_meta_invalid(struct xdp_buff *xdp) in xdp_set_data_meta_invalid() argument
[all …]
Dxdp_sock.h71 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp);
72 int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp);
82 static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv() argument
87 static inline int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv() argument
/linux-4.19.296/include/trace/events/
Dxdp.h3 #define TRACE_SYSTEM xdp
31 const struct bpf_prog *xdp, u32 act),
33 TP_ARGS(dev, xdp, act),
42 __entry->prog_id = xdp->aux->id;
56 const struct bpf_prog *xdp,
60 TP_ARGS(dev, xdp, to_ifindex, err, map, map_index),
73 __entry->prog_id = xdp->aux->id;
91 const struct bpf_prog *xdp,
94 TP_ARGS(dev, xdp, to_ifindex, err, map, map_index)
99 const struct bpf_prog *xdp,
[all …]
/linux-4.19.296/include/linux/
Dbpf.h515 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp,
523 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp,
611 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue() argument
641 struct xdp_buff *xdp, in cpu_map_enqueue() argument
771 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp,
782 static inline int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect() argument
Dbpf_types.h8 BPF_PROG_TYPE(BPF_PROG_TYPE_XDP, xdp)
Dfilter.h655 struct xdp_buff *xdp) in bpf_prog_run_xdp() argument
663 return BPF_PROG_RUN(prog, xdp); in bpf_prog_run_xdp()
850 struct xdp_buff *xdp, struct bpf_prog *prog);
852 struct xdp_buff *xdp,
Dnetdevice.h1422 struct xdp_frame **xdp,
/linux-4.19.296/
DMAINTAINERS2824 F: include/trace/events/xdp.h
16005 F: net/xdp/