Home
last modified time | relevance | path

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

/include/net/
Dxdp.h84 #define xdp_data_hard_end(xdp) \ argument
85 ((xdp)->data_hard_start + (xdp)->frame_sz - \
89 xdp_get_shared_info_from_buff(struct xdp_buff *xdp) in xdp_get_shared_info_from_buff() argument
91 return (struct skb_shared_info *)xdp_data_hard_end(xdp); in xdp_get_shared_info_from_buff()
134 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp);
137 void xdp_convert_frame_to_buff(struct xdp_frame *frame, struct xdp_buff *xdp) in xdp_convert_frame_to_buff() argument
139 xdp->data_hard_start = frame->data - frame->headroom - sizeof(*frame); in xdp_convert_frame_to_buff()
140 xdp->data = frame->data; in xdp_convert_frame_to_buff()
141 xdp->data_end = frame->data + frame->len; in xdp_convert_frame_to_buff()
142 xdp->data_meta = frame->data - frame->metasize; in xdp_convert_frame_to_buff()
[all …]
Dxdp_sock_drv.h60 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_dma() argument
62 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_dma()
67 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_frame_dma() argument
69 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_xdp_get_frame_dma()
84 static inline void xsk_buff_free(struct xdp_buff *xdp) in xsk_buff_free() argument
86 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_free()
102 static inline void xsk_buff_dma_sync_for_cpu(struct xdp_buff *xdp, struct xsk_buff_pool *pool) in xsk_buff_dma_sync_for_cpu() argument
104 struct xdp_buff_xsk *xskb = container_of(xdp, struct xdp_buff_xsk, xdp); in xsk_buff_dma_sync_for_cpu()
193 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_dma() argument
198 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_frame_dma() argument
[all …]
Dxdp_sock.h79 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp);
80 int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp);
98 static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv() argument
103 static inline int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect() argument
Dxsk_buff_pool.h22 struct xdp_buff xdp; member
Dnet_namespace.h186 struct netns_xdp xdp; member
/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;
97 const struct bpf_prog *xdp,
101 TP_ARGS(dev, xdp, tgt, err, map, index),
114 __entry->prog_id = xdp->aux->id;
134 const struct bpf_prog *xdp,
137 TP_ARGS(dev, xdp, tgt, err, map, index)
142 const struct bpf_prog *xdp,
[all …]
/include/linux/
Dif_tun.h34 static inline void *tun_xdp_to_ptr(struct xdp_frame *xdp) in tun_xdp_to_ptr() argument
36 return (void *)((unsigned long)xdp | TUN_XDP_FLAG); in tun_xdp_to_ptr()
60 static inline void *tun_xdp_to_ptr(struct xdp_frame *xdp) in tun_xdp_to_ptr() argument
Dbpf_types.h11 BPF_PROG_TYPE(BPF_PROG_TYPE_XDP, xdp,
136 BPF_LINK_TYPE(BPF_LINK_TYPE_XDP, xdp)
Dfilter.h747 DECLARE_BPF_DISPATCHER(xdp) in DECLARE_BPF_DISPATCHER() argument
750 struct xdp_buff *xdp) in DECLARE_BPF_DISPATCHER()
758 return __BPF_PROG_RUN(prog, xdp, BPF_DISPATCHER_FUNC(xdp)); in DECLARE_BPF_DISPATCHER()
967 struct xdp_buff *xdp, struct bpf_prog *prog);
969 struct xdp_buff *xdp,
Dbpf.h1438 int dev_xdp_enqueue(struct net_device *dev, struct xdp_buff *xdp,
1440 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp,
1448 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp,
1614 int dev_xdp_enqueue(struct net_device *dev, struct xdp_buff *xdp, in dev_xdp_enqueue() argument
1621 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue() argument
1647 struct xdp_buff *xdp, in cpu_map_enqueue() argument
Dnetdevice.h1525 struct xdp_frame **xdp,
/include/xen/interface/io/
Dnetif.h899 } xdp; member
/include/uapi/linux/
Dbpf.h4460 } xdp; member