Home
last modified time | relevance | path

Searched defs:xdp (Results 26 – 50 of 140) sorted by relevance

123456

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_tx.c7 int xdp_tx(struct xdp_md *xdp) in xdp_tx()
H A Dtest_xdp_link.c9 int xdp_handler(struct xdp_md *xdp) in xdp_handler()
H A Dtest_xdp_context_test_run.c6 int xdp_context(struct xdp_md *xdp) in xdp_context()
H A Dtest_xdp_adjust_tail_shrink.c13 int _xdp_adjust_tail_shrink(struct xdp_md *xdp) in _xdp_adjust_tail_shrink()
H A Dtest_xdp_adjust_tail_grow.c6 int _xdp_adjust_tail_grow(struct xdp_md *xdp) in _xdp_adjust_tail_grow()
H A Dtest_xdp_update_frags.c14 int xdp_adjust_frags(struct xdp_md *xdp) in xdp_adjust_frags()
H A Dvrf_socket_lookup.c77 int xdp_socket_lookup(struct xdp_md *xdp) in xdp_socket_lookup()
H A Dtest_migrate_reuseport.c45 int drop_ack(struct xdp_md *xdp) in drop_ack()
H A Dxdp_synproxy_kern.c428 static __always_inline int tcp_lookup(void *ctx, struct header_pointers *hdr, bool xdp) in tcp_lookup()
580 bool xdp) in syncookie_handle_syn()
749 struct header_pointers *hdr, bool xdp) in syncookie_part1()
786 struct header_pointers *hdr, bool xdp) in syncookie_part2()
H A Dtest_parse_tcp_hdr_opt_dynptr.c75 int xdp_ingress_v6(struct xdp_md *xdp) in xdp_ingress_v6()
/openbmc/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c25 struct xdp_buff *xdp) in netvsc_run_xdp()
167 struct netdev_bpf xdp; in netvsc_vf_setxdp() local
/openbmc/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.c385 struct xdp_buff *xdp = &rx_ring->xdp; in ice_clean_rx_ring() local
535 ice_run_xdp(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_run_xdp()
585 struct xdp_buff xdp; in ice_xmit_xdp_ring() local
846 ice_add_xdp_frag(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp, in ice_add_xdp_frag()
950 ice_build_skb(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp) in ice_build_skb()
1003 ice_construct_skb(struct ice_rx_ring *rx_ring, struct xdp_buff *xdp) in ice_construct_skb()
1120 struct xdp_buff *xdp = &rx_ring->xdp; in ice_clean_rx_irq() local
H A Dice_txrx_lib.h18 ice_set_rx_bufs_act(struct xdp_buff *xdp, const struct ice_rx_ring *rx_ring, in ice_set_rx_bufs_act()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_xsk.c197 static int i40e_run_xdp_zc(struct i40e_ring *rx_ring, struct xdp_buff *xdp, in i40e_run_xdp_zc()
244 struct xdp_buff **xdp; in i40e_alloc_rx_buffers_zc() local
289 struct xdp_buff *xdp) in i40e_construct_skb_zc()
401 struct xdp_buff *xdp, const unsigned int size) in i40e_add_xsk_frag()
H A Di40e_txrx.c2091 struct xdp_buff *xdp) in i40e_process_rx_buffs()
2130 struct xdp_buff *xdp) in i40e_construct_skb()
2227 struct xdp_buff *xdp) in i40e_build_skb()
2299 int i40e_xmit_xdp_tx_ring(struct xdp_buff *xdp, struct i40e_ring *xdp_ring) in i40e_xmit_xdp_tx_ring()
2315 static int i40e_run_xdp(struct i40e_ring *rx_ring, struct xdp_buff *xdp, struct bpf_prog *xdp_prog) in i40e_run_xdp()
2434 static int i40e_add_xdp_frag(struct xdp_buff *xdp, u32 *nr_frags, in i40e_add_xdp_frag()
2467 struct xdp_buff *xdp, in i40e_consume_xdp_buff()
2496 struct xdp_buff *xdp = &rx_ring->xdp; in i40e_clean_rx_irq() local
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Drx.c11 static struct mlx5e_xdp_buff *xsk_buff_to_mxbuf(struct xdp_buff *xdp) in xsk_buff_to_mxbuf()
225 static struct sk_buff *mlx5e_xsk_construct_skb(struct mlx5e_rq *rq, struct xdp_buff *xdp) in mlx5e_xsk_construct_skb()
/openbmc/linux/drivers/net/
H A Dveth.c122 struct xdp_buff xdp; member
282 static void *veth_xdp_to_ptr(struct xdp_frame *xdp) in veth_xdp_to_ptr()
317 struct veth_rq *rq, bool xdp) in veth_forward_skb()
592 static int veth_xdp_tx(struct veth_rq *rq, struct xdp_buff *xdp, in veth_xdp_tx()
620 struct xdp_buff *xdp = &vxbuf.xdp; in veth_xdp_rcv_one() local
709 static void veth_xdp_get(struct xdp_buff *xdp) in veth_xdp_get()
723 struct xdp_buff *xdp, in veth_convert_skb_to_xdp_buff()
831 struct xdp_buff *xdp = &vxbuf.xdp; in veth_xdp_rcv_skb() local
1665 static int veth_xdp(struct net_device *dev, struct netdev_bpf *xdp) in veth_xdp()
/openbmc/linux/net/xdp/
H A Dxsk_buff_pool.c555 static u32 xp_alloc_new_from_fq(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) in xp_alloc_new_from_fq()
598 static u32 xp_alloc_reused(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 nb_entries) in xp_alloc_reused()
618 u32 xp_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) in xp_alloc_batch()
H A Dxsk.c156 static int xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in xsk_rcv_zc()
227 static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in __xsk_rcv()
313 static int xsk_rcv_check(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) in xsk_rcv_check()
337 int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv()
352 static int xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_rcv()
372 int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect()
/openbmc/linux/include/net/
H A Dxdp_sock.h96 static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) in xsk_generic_rcv()
101 static inline int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) in __xsk_map_redirect()
/openbmc/linux/net/core/
H A Dxdp.c374 struct xdp_buff *xdp) in __xdp_return()
511 void xdp_return_buff(struct xdp_buff *xdp) in xdp_return_buff()
540 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp) in xdp_convert_zc_to_xdp_frame()
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_xsk.c99 struct xdp_buff *xdp) in ixgbe_run_xdp_zc()
214 const struct xdp_buff *xdp) in ixgbe_construct_skb_zc()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_synproxy.c58 static void test_synproxy(bool xdp) in test_synproxy()
/openbmc/linux/drivers/net/ethernet/amazon/ena/
H A Dena_xdp.h80 static inline int ena_xdp_execute(struct ena_ring *rx_ring, struct xdp_buff *xdp) in ena_xdp_execute()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_net_debugfs.c126 struct dentry *queues, *tx, *rx, *xdp; in nfp_net_debugfs_vnic_add() local

123456