Home
last modified time | relevance | path

Searched defs:xdp (Results 1 – 25 of 44) sorted by relevance

12

/Linux-v4.19/include/trace/events/
Dxdp.h105 #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/
Dtest_xdp_redirect.c18 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()
Dtest_xdp.c80 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()
Dtest_adjust_tail.c15 int _xdp_adjust_tail(struct xdp_md *xdp) in _xdp_adjust_tail()
Dtest_xdp_noinline.c289 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()
Dtest_offload.py412 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/
Dxdp_adjust_tail_kern.c67 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()
Dxdp_tx_iptunnel_kern.c77 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/
Dxdp.h96 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()
Dxdp_sock.h83 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/
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/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c80 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/
Dxdp.c38 struct xdp_buff *xdp) in mlx5e_xmit_xdp_buff()
58 struct xdp_buff xdp; in mlx5e_xdp_handle() local
/Linux-v4.19/drivers/net/
Dveth.c172 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/
Dnfp_net_debugfs.c206 struct dentry *queues, *tx, *rx, *xdp; in nfp_net_debugfs_vnic_add() local
/Linux-v4.19/net/bpf/
Dtest_run.c175 struct xdp_buff xdp = {}; in bpf_prog_test_run_xdp() local
/Linux-v4.19/kernel/bpf/
Dxskmap.c125 int __xsk_map_redirect(struct bpf_map *map, struct xdp_buff *xdp, in __xsk_map_redirect()
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/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() local
/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() local
4439 static int ixgbevf_xdp(struct net_device *dev, struct netdev_bpf *xdp) in ixgbevf_xdp()
/Linux-v4.19/net/core/
Dxdp.c365 void xdp_return_buff(struct xdp_buff *xdp) in xdp_return_buff()
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 …]
/Linux-v4.19/include/linux/
Dbpf.h604 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/
Dnetdevsim.h88 struct xdp_attachment_info xdp; member
Dbpf.c200 struct xdp_attachment_info *xdp) in nsim_xdp_set_prog()

12