| /Linux-v5.4/include/net/ |
| D | xdp.h | 66 struct xdp_buff { struct 94 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp); argument 98 struct xdp_frame *convert_to_xdp_frame(struct xdp_buff *xdp) in convert_to_xdp_frame() 130 void xdp_return_buff(struct xdp_buff *xdp); 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 | 109 struct xdp_buff; 111 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp); 112 int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp); 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/include/linux/ |
| D | bpf.h | 717 struct xdp_buff; 723 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, 730 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp, 818 struct xdp_buff; 822 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue() 848 struct xdp_buff *xdp, in cpu_map_enqueue() 978 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, 989 static inline int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect()
|
| D | filter.h | 36 struct xdp_buff; 697 struct xdp_buff *xdp) in bpf_prog_run_xdp() 909 struct xdp_buff *xdp, struct bpf_prog *prog); 911 struct xdp_buff *xdp,
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_txrx_common.h | 9 int i40e_xmit_xdp_tx_ring(struct xdp_buff *xdp, struct i40e_ring *xdp_ring);
|
| 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()
|
| 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()
|
| /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()
|
| /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()
|
| D | filter.c | 3374 static unsigned long xdp_get_metalen(const struct xdp_buff *xdp) in xdp_get_metalen() 3380 BPF_CALL_2(bpf_xdp_adjust_head, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 3408 BPF_CALL_2(bpf_xdp_adjust_tail, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 3432 BPF_CALL_2(bpf_xdp_adjust_meta, struct xdp_buff *, xdp, int, offset) in BPF_CALL_2() argument 3462 struct xdp_buff *xdp, in __bpf_tx_xdp() 3487 xdp_do_redirect_slow(struct net_device *dev, struct xdp_buff *xdp, in xdp_do_redirect_slow() 3514 struct xdp_buff *xdp, in __bpf_tx_xdp_map() 3607 static int xdp_do_redirect_map(struct net_device *dev, struct xdp_buff *xdp, in xdp_do_redirect_map() 3634 int xdp_do_redirect(struct net_device *dev, struct xdp_buff *xdp, in xdp_do_redirect() 3649 struct xdp_buff *xdp, in xdp_do_generic_redirect_map() [all …]
|
| /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()
|
| /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/kernel/bpf/ |
| D | xskmap.c | 175 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect()
|
| D | cpumap.c | 668 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp, in cpu_map_enqueue()
|
| D | devmap.c | 442 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue()
|
| /Linux-v5.4/drivers/net/ |
| D | tap.c | 1148 static int tap_get_user_xdp(struct tap_queue *q, struct xdp_buff *xdp) in tap_get_user_xdp() 1215 struct xdp_buff *xdp; in tap_sendmsg() 1220 xdp = &((struct xdp_buff *)ctl->ptr)[i]; in tap_sendmsg()
|
| D | veth.c | 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() 601 struct xdp_buff xdp; in veth_xdp_rcv_skb()
|
| D | tun.c | 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() 2417 struct xdp_buff *xdp, int *flush, in tun_xdp_one() 2525 struct xdp_buff *xdp; in tun_sendmsg() 2541 xdp = &((struct xdp_buff *)ctl->ptr)[i]; in tun_sendmsg()
|
| /Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/ |
| D | bnxt_xdp.c | 118 struct xdp_buff xdp; in bnxt_rx_xdp()
|
| /Linux-v5.4/net/bpf/ |
| D | test_run.c | 348 struct xdp_buff xdp = {}; in bpf_prog_test_run_xdp()
|
| /Linux-v5.4/drivers/vhost/ |
| D | net.c | 128 struct xdp_buff *xdp; 691 struct xdp_buff *xdp = &nvq->xdp[nvq->batched_xdp]; in vhost_net_build_xdp() 1279 struct xdp_buff *xdp; in vhost_net_open()
|
| /Linux-v5.4/drivers/net/ethernet/socionext/ |
| D | netsec.c | 866 static u32 netsec_xdp_xmit_back(struct netsec_priv *priv, struct xdp_buff *xdp) in netsec_xdp_xmit_back() 883 struct xdp_buff *xdp) in netsec_run_xdp() 948 struct xdp_buff xdp; in netsec_process_rx()
|
| /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()
|
| /Linux-v5.4/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_rx.c | 673 struct xdp_buff xdp; in mlx4_en_process_rx_cq()
|
| /Linux-v5.4/drivers/net/ethernet/ti/ |
| D | cpsw.c | 488 static int cpsw_run_xdp(struct cpsw_priv *priv, int ch, struct xdp_buff *xdp, in cpsw_run_xdp() 685 struct xdp_buff xdp; in cpsw_rx_handler()
|