/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | xdp_redirect_map.c | 14 int xdp_redirect_map_0(struct xdp_md *xdp) in xdp_redirect_map_0() 20 int xdp_redirect_map_1(struct xdp_md *xdp) in xdp_redirect_map_1() 26 int xdp_redirect_map_2(struct xdp_md *xdp) in xdp_redirect_map_2()
|
D | test_xdp_redirect.c | 18 int xdp_redirect_to_111(struct xdp_md *xdp) in xdp_redirect_to_111() 23 int xdp_redirect_to_222(struct xdp_md *xdp) in xdp_redirect_to_222()
|
D | test_xdp.c | 80 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() 153 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6() 214 int _xdp_tx_iptunnel(struct xdp_md *xdp) in _xdp_tx_iptunnel()
|
D | test_xdp_loop.c | 76 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() 149 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6() 210 int _xdp_tx_iptunnel(struct xdp_md *xdp) in _xdp_tx_iptunnel()
|
D | test_xdp_bpf2bpf.c | 45 int BPF_PROG(trace_on_entry, struct xdp_buff *xdp) in BPF_PROG() 64 int BPF_PROG(trace_on_exit, struct xdp_buff *xdp, int ret) in BPF_PROG()
|
D | xdp_tx.c | 7 int xdp_tx(struct xdp_md *xdp) in xdp_tx()
|
D | test_xdp_link.c | 9 int xdp_handler(struct xdp_md *xdp) in xdp_handler()
|
D | test_xdp_adjust_tail_shrink.c | 15 int _xdp_adjust_tail_shrink(struct xdp_md *xdp) in _xdp_adjust_tail_shrink()
|
D | test_xdp_adjust_tail_grow.c | 6 int _xdp_adjust_tail_grow(struct xdp_md *xdp) in _xdp_adjust_tail_grow()
|
D | test_xdp_noinline.c | 278 bool encap_v6(struct xdp_md *xdp, struct ctl_value *cval, in encap_v6() 321 bool encap_v4(struct xdp_md *xdp, struct ctl_value *cval, in encap_v4() 375 bool decap_v6(struct xdp_md *xdp, void **data, void **data_end, bool inner_v4) in decap_v6() 396 bool decap_v4(struct xdp_md *xdp, void **data, void **data_end) in decap_v4() 692 bool is_ipv6, struct xdp_md *xdp) in process_packet()
|
/kernel/linux/linux-5.10/include/net/ |
D | xdp_sock_drv.h | 60 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() 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() 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()
|
D | xdp.h | 84 #define xdp_data_hard_end(xdp) \ argument 89 xdp_get_shared_info_from_buff(struct xdp_buff *xdp) in xdp_get_shared_info_from_buff() 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() 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()
|
D | xdp_sock.h | 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()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | xdp.h | 148 #define _trace_xdp_redirect(dev, xdp, to) \ argument 151 #define _trace_xdp_redirect_err(dev, xdp, to, err) \ argument 154 #define _trace_xdp_redirect_map(dev, xdp, to, map, index) \ argument 157 #define _trace_xdp_redirect_map_err(dev, xdp, to, map, index, err) \ argument
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_tcp_check_syncookie_user.c | 81 static int get_map_fd_by_prog_id(int prog_id, bool *xdp) in get_map_fd_by_prog_id() 119 static int run_test(int server_fd, int results_fd, bool xdp) in run_test() 210 bool xdp; in main() local
|
/kernel/linux/linux-5.10/samples/bpf/ |
D | xdp_adjust_tail_kern.c | 70 static __always_inline int send_icmp4_too_big(struct xdp_md *xdp) in send_icmp4_too_big() 120 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() 137 int _xdp_icmp(struct xdp_md *xdp) in _xdp_icmp()
|
D | xdp_tx_iptunnel_kern.c | 77 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() 152 static __always_inline int handle_ipv6(struct xdp_md *xdp) in handle_ipv6() 216 int _xdp_tx_iptunnel(struct xdp_md *xdp) in _xdp_tx_iptunnel()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | rx.c | 32 struct xdp_buff *xdp = wi->umr.dma_info[page_idx].xsk; in mlx5e_xsk_skb_from_cqe_mpwrq_linear() local 85 struct xdp_buff *xdp = wi->di->xsk; in mlx5e_xsk_skb_from_cqe_linear() local
|
/kernel/linux/linux-5.10/include/linux/ |
D | if_tun.h | 34 static inline void *tun_xdp_to_ptr(struct xdp_frame *xdp) in tun_xdp_to_ptr() 60 static inline void *tun_xdp_to_ptr(struct xdp_frame *xdp) in tun_xdp_to_ptr()
|
/kernel/linux/linux-5.10/drivers/net/hyperv/ |
D | netvsc_bpf.c | 24 struct xdp_buff *xdp) in netvsc_run_xdp() 137 struct netdev_bpf xdp; in netvsc_vf_setxdp() local
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 118 struct xdp_buff xdp; in bnxt_rx_xdp() local 236 struct xdp_frame *xdp = frames[i]; in bnxt_xdp_xmit() local 324 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp) in bnxt_xdp()
|
/kernel/linux/linux-5.10/net/core/ |
D | xdp.c | 341 struct xdp_buff *xdp) in __xdp_return() 387 void xdp_return_buff(struct xdp_buff *xdp) in xdp_return_buff() 417 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp) in xdp_convert_zc_to_xdp_frame()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 199 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp) in i40e_run_xdp_zc() 249 struct xdp_buff **bi, *xdp; in i40e_alloc_rx_buffers_zc() local 299 struct xdp_buff *xdp) in i40e_construct_skb_zc()
|
/kernel/linux/linux-5.10/net/xdp/ |
D | xsk.c | 151 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in __xsk_rcv_zc() 186 static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len, in __xsk_rcv() 232 static int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp, in xsk_rcv() 257 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv() 268 int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | devmap.c | 446 static inline int __xdp_enqueue(struct net_device *dev, struct xdp_buff *xdp, in __xdp_enqueue() 468 struct xdp_buff *xdp, in dev_map_run_prog() 495 int dev_xdp_enqueue(struct net_device *dev, struct xdp_buff *xdp, in dev_xdp_enqueue() 501 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue()
|