Home
last modified time | relevance | path

Searched refs:xdp_buff (Results 1 – 25 of 25) sorted by relevance

/Linux-v4.19/include/net/
Dxdp_sock.h70 struct xdp_buff;
72 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp);
73 int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp);
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()
Dxdp.h66 struct xdp_buff { struct
96 struct xdp_frame *convert_to_xdp_frame(struct xdp_buff *xdp) in convert_to_xdp_frame()
129 void xdp_return_buff(struct xdp_buff *xdp);
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()
/Linux-v4.19/include/linux/
Dbpf.h507 struct xdp_buff;
513 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp,
521 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp,
600 struct xdp_buff;
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()
756 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp,
767 static inline int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect()
Dfilter.h34 struct xdp_buff;
620 struct xdp_buff *xdp) in bpf_prog_run_xdp()
828 struct xdp_buff *xdp, struct bpf_prog *prog);
830 struct xdp_buff *xdp,
Dnetdevice.h70 struct xdp_buff;
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c38 struct xdp_buff *xdp) in mlx5e_xmit_xdp_buff()
58 struct xdp_buff xdp; in mlx5e_xdp_handle()
/Linux-v4.19/net/xdp/
Dxsk.c56 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/net/core/
Dfilter.c3067 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 …]
Dxdp.c365 void xdp_return_buff(struct xdp_buff *xdp) in xdp_return_buff()
Ddev.c4274 struct xdp_buff *xdp, in netif_receive_generic_xdp()
4399 struct xdp_buff xdp; in do_xdp_generic()
/Linux-v4.19/net/bpf/
Dtest_run.c175 struct xdp_buff xdp = {}; in bpf_prog_test_run_xdp()
/Linux-v4.19/kernel/bpf/
Dxskmap.c125 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect()
Dcpumap.c622 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_buff *xdp, in cpu_map_enqueue()
Ddevmap.c337 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_buff *xdp, in dev_map_enqueue()
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c80 struct xdp_buff xdp; in bnxt_rx_xdp()
/Linux-v4.19/drivers/net/
Dveth.c365 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()
464 struct xdp_buff xdp; in veth_xdp_rcv_skb()
Dvirtio_net.c634 struct xdp_buff xdp; in receive_small()
782 struct xdp_buff xdp; in receive_mergeable()
Dtun.c1309 static int tun_xdp_tx(struct net_device *dev, struct xdp_buff *xdp) in tun_xdp_tx()
1624 struct xdp_buff xdp; in tun_build_skb()
/Linux-v4.19/drivers/net/ethernet/intel/i40e/
Di40e_txrx.c2019 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()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c851 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()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/
Den_rx.c663 struct xdp_buff xdp; in mlx4_en_process_rx_cq()
/Linux-v4.19/drivers/net/ethernet/qlogic/qede/
Dqede_fp.c1070 struct xdp_buff xdp; in qede_rx_xdp()
/Linux-v4.19/drivers/net/ethernet/cavium/thunder/
Dnicvf_main.c513 struct xdp_buff xdp; in nicvf_xdp_rx()
/Linux-v4.19/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c2080 struct xdp_buff *xdp, in ixgbe_construct_skb()
2141 struct xdp_buff *xdp, in ixgbe_build_skb()
2199 struct xdp_buff *xdp) in ixgbe_run_xdp()
2290 struct xdp_buff xdp; in ixgbe_clean_rx_irq()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_net_common.c1641 struct xdp_buff xdp; in nfp_net_rx()