/Linux-v4.19/include/trace/events/ |
D | xdp.h | 105 #define _trace_xdp_redirect(dev, xdp, to) \ argument 108 #define _trace_xdp_redirect_err(dev, xdp, to, err) \ argument 153 #define _trace_xdp_redirect_map(dev, xdp, fwd, map, idx) \ argument 157 #define _trace_xdp_redirect_map_err(dev, xdp, fwd, map, idx, err) \ argument
|
/Linux-v4.19/tools/testing/selftests/bpf/ |
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_adjust_tail.c | 15 int _xdp_adjust_tail(struct xdp_md *xdp) in _xdp_adjust_tail()
|
D | test_xdp_noinline.c | 289 bool encap_v6(struct xdp_md *xdp, struct ctl_value *cval, in encap_v6() 332 bool encap_v4(struct xdp_md *xdp, struct ctl_value *cval, in encap_v4() 386 bool decap_v6(struct xdp_md *xdp, void **data, void **data_end, bool inner_v4) in decap_v6() 407 bool decap_v4(struct xdp_md *xdp, void **data, void **data_end) in decap_v4() 703 bool is_ipv6, struct xdp_md *xdp) in process_packet()
|
D | test_offload.py | 412 def ip_link_show(self, xdp): argument 936 xdp = sim.ip_link_show(xdp=True)["xdp"] variable 969 xdp = sim.ip_link_show(xdp=True)["xdp"] variable
|
/Linux-v4.19/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-v4.19/include/net/ |
D | xdp.h | 96 struct xdp_frame *convert_to_xdp_frame(struct xdp_buff *xdp) in convert_to_xdp_frame() 143 xdp_set_data_meta_invalid(struct xdp_buff *xdp) in xdp_set_data_meta_invalid() 149 xdp_data_meta_unsupported(const struct xdp_buff *xdp) in xdp_data_meta_unsupported()
|
D | xdp_sock.h | 83 static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv() 88 static inline int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv()
|
/Linux-v4.19/net/xdp/ |
D | xsk.c | 56 static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in __xsk_rcv() 83 static int __xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in __xsk_rcv_zc() 93 int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv() 112 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_xdp.c | 80 struct xdp_buff xdp; in bnxt_rx_xdp() local 212 int bnxt_xdp(struct net_device *dev, struct netdev_bpf *xdp) in bnxt_xdp()
|
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 38 struct xdp_buff *xdp) in mlx5e_xmit_xdp_buff() 58 struct xdp_buff xdp; in mlx5e_xdp_handle() local
|
/Linux-v4.19/drivers/net/ |
D | veth.c | 172 struct veth_rq *rq, bool xdp) in veth_forward_skb() 365 static int veth_xdp_tx(struct net_device *dev, struct xdp_buff *xdp) in veth_xdp_tx() 390 struct xdp_buff xdp; in veth_xdp_rcv_one() local 464 struct xdp_buff xdp; in veth_xdp_rcv_skb() local 990 static int veth_xdp(struct net_device *dev, struct netdev_bpf *xdp) in veth_xdp()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugfs.c | 206 struct dentry *queues, *tx, *rx, *xdp; in nfp_net_debugfs_vnic_add() local
|
/Linux-v4.19/net/bpf/ |
D | test_run.c | 175 struct xdp_buff xdp = {}; in bpf_prog_test_run_xdp() local
|
/Linux-v4.19/kernel/bpf/ |
D | xskmap.c | 125 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect()
|
D | devmap.c | 337 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue()
|
/Linux-v4.19/drivers/net/ethernet/intel/i40e/ |
D | i40e_txrx.c | 2019 struct xdp_buff *xdp) in i40e_construct_skb() 2099 struct xdp_buff *xdp) in i40e_build_skb() 2210 static int i40e_xmit_xdp_tx_ring(struct xdp_buff *xdp, in i40e_xmit_xdp_tx_ring() 2227 struct xdp_buff *xdp) in i40e_run_xdp() 2318 struct xdp_buff xdp; in i40e_clean_rx_irq() local
|
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 851 struct xdp_buff *xdp, in ixgbevf_construct_skb() 927 struct xdp_buff *xdp, in ixgbevf_build_skb() 976 struct xdp_buff *xdp) in ixgbevf_xmit_xdp_ring() 1054 struct xdp_buff *xdp) in ixgbevf_run_xdp() 1116 struct xdp_buff xdp; in ixgbevf_clean_rx_irq() local 4439 static int ixgbevf_xdp(struct net_device *dev, struct netdev_bpf *xdp) in ixgbevf_xdp()
|
/Linux-v4.19/net/core/ |
D | xdp.c | 365 void xdp_return_buff(struct xdp_buff *xdp) in xdp_return_buff()
|
D | filter.c | 3067 static unsigned long xdp_get_metalen(const struct xdp_buff *xdp) in xdp_get_metalen() 3073 BPF_CALL_2(bpf_xdp_adjust_head, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 3101 BPF_CALL_2(bpf_xdp_adjust_tail, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 3125 BPF_CALL_2(bpf_xdp_adjust_meta, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 3155 struct xdp_buff *xdp, in __bpf_tx_xdp() 3181 struct xdp_buff *xdp, in __bpf_tx_xdp_map() 3272 static int xdp_do_redirect_map(struct net_device *dev, struct xdp_buff *xdp, in xdp_do_redirect_map() 3303 int xdp_do_redirect(struct net_device *dev, struct xdp_buff *xdp, in xdp_do_redirect() 3336 struct xdp_buff *xdp, in xdp_do_generic_redirect_map() 3381 struct xdp_buff *xdp, struct bpf_prog *xdp_prog) in xdp_do_generic_redirect() [all …]
|
/Linux-v4.19/include/linux/ |
D | bpf.h | 604 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue() 634 struct xdp_buff *xdp, in cpu_map_enqueue() 767 static inline int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect()
|
/Linux-v4.19/drivers/net/netdevsim/ |
D | netdevsim.h | 88 struct xdp_attachment_info xdp; member
|
D | bpf.c | 200 struct xdp_attachment_info *xdp) in nsim_xdp_set_prog()
|