Home
last modified time | relevance | path

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

/include/net/
Dxdp_sock_drv.h60 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *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()
74 static inline struct xdp_buff *xsk_buff_alloc(struct xsk_buff_pool *pool) in xsk_buff_alloc()
84 static inline void xsk_buff_free(struct xdp_buff *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()
193 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_dma()
198 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_frame_dma()
203 static inline struct xdp_buff *xsk_buff_alloc(struct xsk_buff_pool *pool) in xsk_buff_alloc()
213 static inline void xsk_buff_free(struct xdp_buff *xdp) in xsk_buff_free()
228 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()
Dxdp.h68 struct xdp_buff { struct
89 xdp_get_shared_info_from_buff(struct xdp_buff *xdp) in xdp_get_shared_info_from_buff() argument
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()
147 int xdp_update_frame_from_buff(struct xdp_buff *xdp, in xdp_update_frame_from_buff()
176 struct xdp_frame *xdp_convert_buff_to_frame(struct xdp_buff *xdp) in xdp_convert_buff_to_frame()
196 void xdp_return_buff(struct xdp_buff *xdp);
226 xdp_set_data_meta_invalid(struct xdp_buff *xdp) in xdp_set_data_meta_invalid()
232 xdp_data_meta_unsupported(const struct xdp_buff *xdp) in xdp_data_meta_unsupported()
Dxdp_sock.h18 struct xdp_buff;
79 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()
103 static inline int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect()
Dxsk_buff_pool.h22 struct xdp_buff xdp;
107 struct xdp_buff *xp_alloc(struct xsk_buff_pool *pool);
/include/linux/
Dbpf_types.h12 struct xdp_md, struct xdp_buff)
Dbpf.h1432 struct xdp_buff;
1438 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,
1610 struct xdp_buff;
1614 int dev_xdp_enqueue(struct net_device *dev, struct xdp_buff *xdp, in dev_xdp_enqueue()
1621 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue()
1647 struct xdp_buff *xdp, in cpu_map_enqueue()
Dfilter.h37 struct xdp_buff;
750 struct xdp_buff *xdp) in DECLARE_BPF_DISPATCHER()
967 struct xdp_buff *xdp, struct bpf_prog *prog);
969 struct xdp_buff *xdp,
Dnetdevice.h72 struct xdp_buff;