Searched refs:xdp_buff (Results 1 – 9 of 9) sorted by relevance
| /include/net/ |
| D | xdp_sock_drv.h | 85 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_dma() 92 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) in xsk_buff_xdp_get_frame_dma() 99 static inline struct xdp_buff *xsk_buff_alloc(struct xsk_buff_pool *pool) in xsk_buff_alloc() 110 static inline u32 xsk_buff_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) in xsk_buff_alloc_batch() 120 static inline void xsk_buff_free(struct xdp_buff *xdp) in xsk_buff_free() 139 static inline void xsk_buff_add_frag(struct xdp_buff *xdp) in xsk_buff_add_frag() 146 static inline struct xdp_buff *xsk_buff_get_frag(struct xdp_buff *first) in xsk_buff_get_frag() 149 struct xdp_buff *ret = NULL; in xsk_buff_get_frag() 162 static inline void xsk_buff_del_tail(struct xdp_buff *tail) in xsk_buff_del_tail() 169 static inline struct xdp_buff *xsk_buff_get_tail(struct xdp_buff *first) in xsk_buff_get_tail() [all …]
|
| D | xdp.h | 80 struct xdp_buff { struct 91 static __always_inline bool xdp_buff_has_frags(struct xdp_buff *xdp) in xdp_buff_has_frags() argument 96 static __always_inline void xdp_buff_set_frags_flag(struct xdp_buff *xdp) in xdp_buff_set_frags_flag() 101 static __always_inline void xdp_buff_clear_frags_flag(struct xdp_buff *xdp) in xdp_buff_clear_frags_flag() 106 static __always_inline bool xdp_buff_is_frag_pfmemalloc(struct xdp_buff *xdp) in xdp_buff_is_frag_pfmemalloc() 111 static __always_inline void xdp_buff_set_frag_pfmemalloc(struct xdp_buff *xdp) in xdp_buff_set_frag_pfmemalloc() 117 xdp_init_buff(struct xdp_buff *xdp, u32 frame_sz, struct xdp_rxq_info *rxq) in xdp_init_buff() 125 xdp_prepare_buff(struct xdp_buff *xdp, unsigned char *hard_start, in xdp_prepare_buff() 147 xdp_get_shared_info_from_buff(struct xdp_buff *xdp) in xdp_get_shared_info_from_buff() 152 static __always_inline unsigned int xdp_get_buff_len(struct xdp_buff *xdp) in xdp_get_buff_len() [all …]
|
| D | xdp_sock.h | 21 struct xdp_buff; 122 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp); 123 int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp); 199 static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv() 204 static inline int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect()
|
| D | xsk_buff_pool.h | 26 struct xdp_buff xdp; 141 struct xdp_buff *xp_alloc(struct xsk_buff_pool *pool); 142 u32 xp_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max);
|
| D | busy_poll.h | 175 const struct xdp_buff *xdp) in sk_mark_napi_id_once_xdp()
|
| /include/linux/ |
| D | filter.h | 37 struct xdp_buff; 974 u32 xdp_master_redirect(struct xdp_buff *xdp); 1181 struct xdp_buff *xdp, struct bpf_prog *prog); 1183 struct xdp_buff *xdp, 1186 struct xdp_buff *xdp, 1747 int __bpf_xdp_load_bytes(struct xdp_buff *xdp, u32 offset, void *buf, u32 len); 1748 int __bpf_xdp_store_bytes(struct xdp_buff *xdp, u32 offset, void *buf, u32 len); 1749 void *bpf_xdp_pointer(struct xdp_buff *xdp, u32 offset, u32 len); 1750 void bpf_xdp_copy_buf(struct xdp_buff *xdp, unsigned long off, 1765 static inline int __bpf_xdp_load_bytes(struct xdp_buff *xdp, u32 offset, in __bpf_xdp_load_bytes() [all …]
|
| D | bpf_types.h | 12 struct xdp_md, struct xdp_buff)
|
| D | netdevice.h | 79 struct xdp_buff; 1608 struct xdp_buff *xdp); 3933 u32 bpf_prog_run_generic_xdp(struct sk_buff *skb, struct xdp_buff *xdp,
|
| /include/net/mana/ |
| D | mana.h | 488 struct xdp_buff *xdp, void *buf_va, uint pkt_len);
|