/linux-master/samples/bpf/ |
H A D | xdp_adjust_tail_kern.c | 70 static __always_inline int send_icmp4_too_big(struct xdp_md *xdp) argument 120 static __always_inline int handle_ipv4(struct xdp_md *xdp) argument 137 int _xdp_icmp(struct xdp_md *xdp) argument [all...] |
H A D | xdp_sample.bpf.c | 96 BPF_PROG(tp_xdp_redirect_err, const struct net_device *dev, const struct bpf_prog *xdp, const void *tgt, int err, const struct bpf_map *map, u32 index) argument 104 BPF_PROG(tp_xdp_redirect_map_err, const struct net_device *dev, const struct bpf_prog *xdp, const void *tgt, int err, const struct bpf_map *map, u32 index) argument 112 BPF_PROG(tp_xdp_redirect, const struct net_device *dev, const struct bpf_prog *xdp, const void *tgt, int err, const struct bpf_map *map, u32 index) argument 120 BPF_PROG(tp_xdp_redirect_map, const struct net_device *dev, const struct bpf_prog *xdp, const void *tgt, int err, const struct bpf_map *map, u32 index) argument 181 BPF_PROG(tp_xdp_exception, const struct net_device *dev, const struct bpf_prog *xdp, u32 act) argument
|
/linux-master/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_net_debugfs.c | 126 struct dentry *queues, *tx, *rx, *xdp; local
|
H A D | nfp_net_dp.h | 71 static inline void nfp_net_free_frag(void *frag, bool xdp) argument
|
/linux-master/drivers/net/hyperv/ |
H A D | netvsc_bpf.c | 167 struct netdev_bpf xdp; local 24 netvsc_run_xdp(struct net_device *ndev, struct netvsc_channel *nvchan, struct xdp_buff *xdp) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/siena/ |
H A D | rx.c | 258 struct xdp_buff xdp; local
|
/linux-master/drivers/net/ethernet/netronome/nfp/nfd3/ |
H A D | nfd3.h | 72 struct xdp_buff *xdp; member in union:nfp_nfd3_tx_buf::__anon1798
|
/linux-master/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_bpf.c | 80 mana_run_xdp(struct net_device *ndev, struct mana_rxq *rxq, struct xdp_buff *xdp, void *buf_va, uint pkt_len) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | rx.c | 11 static struct mlx5e_xdp_buff *xsk_buff_to_mxbuf(struct xdp_buff *xdp) argument 225 static struct sk_buff *mlx5e_xsk_construct_skb(struct mlx5e_rq *rq, struct xdp_buff *xdp) argument [all...] |
/linux-master/drivers/net/ethernet/sfc/ |
H A D | rx.c | 258 struct xdp_buff xdp; local
|
/linux-master/drivers/net/ethernet/amazon/ena/ |
H A D | ena_xdp.h | 82 static inline int ena_xdp_execute(struct ena_ring *rx_ring, struct xdp_buff *xdp) argument
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.h | 18 ice_set_rx_bufs_act(struct xdp_buff *xdp, const struct ice_rx_ring *rx_ring, argument 169 ice_xdp_meta_set_desc(struct xdp_buff *xdp, argument
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp_dynptr.c | 77 static __always_inline int handle_ipv4(struct xdp_md *xdp, struct bpf_dynptr *xdp_ptr) argument 159 static __always_inline int handle_ipv6(struct xdp_md *xdp, struct bpf_dynptr *xdp_ptr) argument 231 _xdp_tx_iptunnel(struct xdp_md *xdp) argument [all...] |
H A D | xdp_features.c | 65 xdp_process_echo_packet(struct xdp_md *xdp, bool dut) argument 135 xdp_update_stats(struct xdp_md *xdp, bool tx, bool dut) argument 156 int xdp_tester_check_tx(struct xdp_md *xdp) argument 164 int xdp_tester_check_rx(struct xdp_md *xdp) argument 174 xdp_do_pass(struct xdp_md *xdp) argument 182 xdp_do_drop(struct xdp_md *xdp) argument 191 xdp_do_aborted(struct xdp_md *xdp) argument 200 xdp_do_tx(struct xdp_md *xdp) argument 217 xdp_do_redirect(struct xdp_md *xdp) argument 226 BPF_PROG(xdp_exception, const struct net_device *dev, const struct bpf_prog *xdp, __u32 act) argument 252 xdp_do_redirect_cpumap(struct xdp_md *xdp) argument [all...] |
H A D | test_tunnel_kern.c | 960 int xfrm_get_state_xdp(struct xdp_md *xdp) argument
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | test_tcp_check_syncookie_user.c | 82 static int get_map_fd_by_prog_id(int prog_id, bool *xdp) argument 120 static int run_test(int server_fd, int results_fd, bool xdp, argument 230 bool xdp; local
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.h | 49 struct xdp_buff xdp; member in struct:mlx5e_xdp_buff
|
/linux-master/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_xsk.c | 97 ixgbe_run_xdp_zc(struct ixgbe_adapter *adapter, struct ixgbe_ring *rx_ring, struct xdp_buff *xdp) argument 213 ixgbe_construct_skb_zc(struct ixgbe_ring *rx_ring, const struct xdp_buff *xdp) argument [all...] |
/linux-master/drivers/net/vmxnet3/ |
H A D | vmxnet3_xdp.c | 251 vmxnet3_run_xdp(struct vmxnet3_rx_queue *rq, struct xdp_buff *xdp, argument 303 vmxnet3_build_skb(struct vmxnet3_rx_queue *rq, struct page *page, const struct xdp_buff *xdp) argument 331 struct xdp_buff xdp; local 377 struct xdp_buff xdp; local [all...] |
/linux-master/include/net/ |
H A D | xdp_sock.h | 199 static inline int xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) argument 204 static inline int __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) argument
|
H A D | xsk_buff_pool.h | 26 struct xdp_buff xdp; member in struct:xdp_buff_xsk
|
H A D | xdp_sock_drv.h | 85 static inline dma_addr_t xsk_buff_xdp_get_dma(struct xdp_buff *xdp) argument 92 static inline dma_addr_t xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) argument 110 static inline u32 xsk_buff_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) argument 120 static inline void xsk_buff_free(struct xdp_buff *xdp) argument 139 xsk_buff_add_frag(struct xdp_buff *xdp) argument 179 xsk_buff_set_size(struct xdp_buff *xdp, u32 size) argument 222 xsk_buff_dma_sync_for_cpu(struct xdp_buff *xdp, struct xsk_buff_pool *pool) argument 328 xsk_buff_xdp_get_dma(struct xdp_buff *xdp) argument 333 xsk_buff_xdp_get_frame_dma(struct xdp_buff *xdp) argument 348 xsk_buff_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) argument 358 xsk_buff_free(struct xdp_buff *xdp) argument 362 xsk_buff_add_frag(struct xdp_buff *xdp) argument 380 xsk_buff_set_size(struct xdp_buff *xdp, u32 size) argument 405 xsk_buff_dma_sync_for_cpu(struct xdp_buff *xdp, struct xsk_buff_pool *pool) argument [all...] |
/linux-master/drivers/net/ethernet/aquantia/atlantic/ |
H A D | aq_main.c | 485 static int aq_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
|
/linux-master/drivers/net/netdevsim/ |
H A D | bpf.c | 193 nsim_xdp_set_prog(struct netdevsim *ns, struct netdev_bpf *bpf, struct xdp_attachment_info *xdp) argument
|
/linux-master/net/xdp/ |
H A D | xsk_buff_pool.c | 569 static u32 xp_alloc_new_from_fq(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) argument 612 xp_alloc_reused(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 nb_entries) argument 632 xp_alloc_batch(struct xsk_buff_pool *pool, struct xdp_buff **xdp, u32 max) argument [all...] |