/Linux-v5.4/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 | xdp_tx.c | 7 int xdp_tx(struct xdp_md *xdp) in xdp_tx()
|
D | test_adjust_tail.c | 15 int _xdp_adjust_tail(struct xdp_md *xdp) in _xdp_adjust_tail()
|
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()
|
/Linux-v5.4/include/trace/events/ |
D | xdp.h | 134 #define _trace_xdp_redirect(dev, xdp, to) \ argument 137 #define _trace_xdp_redirect_err(dev, xdp, to, err) \ argument 182 #define _trace_xdp_redirect_map(dev, xdp, fwd, map, idx) \ argument 186 #define _trace_xdp_redirect_map_err(dev, xdp, fwd, map, idx, err) \ argument
|
/Linux-v5.4/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
|
/Linux-v5.4/samples/bpf/ |
D | xdp_adjust_tail_kern.c | 67 static __always_inline int send_icmp4_too_big(struct xdp_md *xdp) in send_icmp4_too_big() 117 static __always_inline int handle_ipv4(struct xdp_md *xdp) in handle_ipv4() 134 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()
|
/Linux-v5.4/include/net/ |
D | xdp.h | 98 struct xdp_frame *convert_to_xdp_frame(struct xdp_buff *xdp) in convert_to_xdp_frame() 160 xdp_set_data_meta_invalid(struct xdp_buff *xdp) in xdp_set_data_meta_invalid() 166 xdp_data_meta_unsupported(const struct xdp_buff *xdp) in xdp_data_meta_unsupported()
|
D | xdp_sock.h | 222 static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv() 227 static inline int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv()
|
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 118 struct xdp_buff xdp; in bnxt_rx_xdp() local 235 struct xdp_frame *xdp = frames[i]; in bnxt_xdp_xmit() local 323 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp) in bnxt_xdp()
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_xsk.c | 144 struct xdp_buff *xdp) in ixgbe_run_xdp_zc() 396 struct xdp_buff *xdp) in ixgbe_construct_skb_zc() 437 struct xdp_buff xdp; in ixgbe_clean_rx_irq_zc() local
|
/Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
D | i40e_xsk.c | 191 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp) in i40e_run_xdp_zc() 488 struct xdp_buff *xdp) in i40e_construct_skb_zc() 537 struct xdp_buff xdp; in i40e_clean_rx_irq_zc() local
|
D | i40e_txrx.c | 1996 struct xdp_buff *xdp) in i40e_construct_skb() 2077 struct xdp_buff *xdp) in i40e_build_skb() 2181 int i40e_xmit_xdp_tx_ring(struct xdp_buff *xdp, struct i40e_ring *xdp_ring) in i40e_xmit_xdp_tx_ring() 2197 struct xdp_buff *xdp) in i40e_run_xdp() 2336 struct xdp_buff xdp; in i40e_clean_rx_irq() local
|
/Linux-v5.4/net/xdp/ |
D | xsk.c | 141 static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in __xsk_rcv() 179 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in __xsk_rcv_zc() 199 int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv() 221 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv()
|
/Linux-v5.4/net/core/ |
D | xdp.c | 448 void xdp_return_buff(struct xdp_buff *xdp) in xdp_return_buff() 500 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp) in xdp_convert_zc_to_xdp_frame()
|
/Linux-v5.4/drivers/net/ |
D | veth.c | 229 struct veth_rq *rq, bool xdp) in veth_forward_skb() 491 static int veth_xdp_tx(struct net_device *dev, struct xdp_buff *xdp, in veth_xdp_tx() 523 struct xdp_buff xdp; in veth_xdp_rcv_one() local 601 struct xdp_buff xdp; in veth_xdp_rcv_skb() local 1149 static int veth_xdp(struct net_device *dev, struct netdev_bpf *xdp) in veth_xdp()
|
D | tun.c | 1233 static int tun_xdp(struct net_device *dev, struct netdev_bpf *xdp) in tun_xdp() 1310 struct xdp_frame *xdp = frames[i]; in tun_xdp_xmit() local 1331 static int tun_xdp_tx(struct net_device *dev, struct xdp_buff *xdp) in tun_xdp_tx() 1624 struct xdp_buff *xdp, u32 act) in tun_xdp_act() 1703 struct xdp_buff xdp; in tun_build_skb() local 2417 struct xdp_buff *xdp, int *flush, in tun_xdp_one() 2525 struct xdp_buff *xdp; in tun_sendmsg() local
|
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 60 struct mlx5e_dma_info *di, struct xdp_buff *xdp) in mlx5e_xmit_xdp_buff() 126 struct xdp_buff xdp; in mlx5e_xdp_handle() local
|
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugfs.c | 150 struct dentry *queues, *tx, *rx, *xdp; in nfp_net_debugfs_vnic_add() local
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 858 struct xdp_buff *xdp, in ixgbevf_construct_skb() 935 struct xdp_buff *xdp, in ixgbevf_build_skb() 984 struct xdp_buff *xdp) in ixgbevf_xmit_xdp_ring() 1062 struct xdp_buff *xdp) in ixgbevf_run_xdp() 1124 struct xdp_buff xdp; in ixgbevf_clean_rx_irq() local 4491 static int ixgbevf_xdp(struct net_device *dev, struct netdev_bpf *xdp) in ixgbevf_xdp()
|
/Linux-v5.4/kernel/bpf/ |
D | xskmap.c | 175 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect()
|