Searched defs:xdp (Results 1 - 25 of 140) sorted by last modified time

123456

/linux-master/net/core/
H A Drtnetlink.c1525 struct nlattr *xdp; local
3073 struct nlattr *xdp[IFLA_XDP_MAX + 1]; local
[all...]
H A Dfilter.c3902 static unsigned long xdp_get_metalen(const struct xdp_buff *xdp) argument
3936 bpf_xdp_copy_buf(struct xdp_buff *xdp, unsigned long off, void *buf, unsigned long len, bool flush) argument
3983 bpf_xdp_pointer(struct xdp_buff *xdp, u32 offset, u32 len) argument
4042 __bpf_xdp_load_bytes(struct xdp_buff *xdp, u32 offset, void *buf, u32 len) argument
4074 __bpf_xdp_store_bytes(struct xdp_buff *xdp, u32 offset, void *buf, u32 len) argument
4079 bpf_xdp_frags_increase_tail(struct xdp_buff *xdp, int offset) argument
4102 bpf_xdp_shrink_data_zc(struct xdp_buff *xdp, int shrink, struct xdp_mem_info *mem_info, bool release) argument
4115 bpf_xdp_shrink_data(struct xdp_buff *xdp, skb_frag_t *frag, int shrink) argument
4136 bpf_xdp_frags_shrink_tail(struct xdp_buff *xdp, int offset) argument
4309 xdp_master_redirect(struct xdp_buff *xdp) argument
4331 __xdp_do_redirect_xsk(struct bpf_redirect_info *ri, struct net_device *dev, struct xdp_buff *xdp, struct bpf_prog *xdp_prog) argument
4426 xdp_do_redirect(struct net_device *dev, struct xdp_buff *xdp, struct bpf_prog *xdp_prog) argument
4440 xdp_do_redirect_frame(struct net_device *dev, struct xdp_buff *xdp, struct xdp_frame *xdpf, struct bpf_prog *xdp_prog) argument
4453 xdp_do_generic_redirect_map(struct net_device *dev, struct sk_buff *skb, struct xdp_buff *xdp, struct bpf_prog *xdp_prog, void *fwd, enum bpf_map_type map_type, u32 map_id, u32 flags) argument
4511 xdp_do_generic_redirect(struct net_device *dev, struct sk_buff *skb, struct xdp_buff *xdp, struct bpf_prog *xdp_prog) argument
5006 struct xdp_buff *xdp = (struct xdp_buff *)ctx; local
11861 bpf_dynptr_from_xdp(struct xdp_buff *xdp, u64 flags, struct bpf_dynptr_kern *ptr__uninit) argument
[all...]
H A Ddev.c4811 u32 bpf_prog_run_generic_xdp(struct sk_buff *skb, struct xdp_buff *xdp, argument
4936 netif_receive_generic_xdp(struct sk_buff **pskb, struct xdp_buff *xdp, struct bpf_prog *xdp_prog) argument
5019 struct xdp_buff xdp; local
5693 generic_xdp_install(struct net_device *dev, struct netdev_bpf *xdp) argument
9248 struct netdev_bpf xdp; local
[all...]
/linux-master/include/linux/
H A Dfilter.h1612 static inline int __bpf_xdp_load_bytes(struct xdp_buff *xdp, u3 argument
1618 __bpf_xdp_store_bytes(struct xdp_buff *xdp, u32 offset, void *buf, u32 len) argument
1624 bpf_xdp_pointer(struct xdp_buff *xdp, u32 offset, u32 len) argument
1629 bpf_xdp_copy_buf(struct xdp_buff *xdp, unsigned long off, void *buf, unsigned long len, bool flush) argument
[all...]
/linux-master/drivers/net/ethernet/qlogic/qede/
H A Dqede_filter.c1042 int qede_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
/linux-master/drivers/net/ethernet/intel/igc/
H A Digc_main.c1937 igc_build_skb(struct igc_ring *rx_ring, struct igc_rx_buffer *rx_buffer, struct xdp_buff *xdp) argument
1968 struct xdp_buff *xdp = &ctx->xdp; local
2463 igc_xdp_xmit_back(struct igc_adapter *adapter, struct xdp_buff *xdp) argument
2486 __igc_xdp_run_prog(struct igc_adapter *adapter, struct bpf_prog *prog, struct xdp_buff *xdp) argument
2516 igc_xdp_run_prog(struct igc_adapter *adapter, struct xdp_buff *xdp) argument
2706 igc_construct_skb_zc(struct igc_ring *ring, struct xdp_buff *xdp) argument
2731 igc_dispatch_skb_zc(struct igc_q_vector *q_vector, union igc_adv_rx_desc *desc, struct xdp_buff *xdp, ktime_t timestamp) argument
2755 xsk_buff_to_igc_ctx(struct xdp_buff *xdp) argument
[all...]
H A Digc.h549 struct xdp_buff *xdp; member in union:igc_rx_buffer::__anon37
555 struct xdp_buff xdp; member in struct:igc_xdp_buff
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_main.c13583 i40e_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
[all...]
H A Di40e_txrx.h347 struct xdp_buff xdp; member in struct:i40e_ring
H A Di40e_txrx.c2078 i40e_process_rx_buffs(struct i40e_ring *rx_ring, int xdp_res, struct xdp_buff *xdp) argument
2117 i40e_construct_skb(struct i40e_ring *rx_ring, struct xdp_buff *xdp) argument
2214 i40e_build_skb(struct i40e_ring *rx_ring, struct xdp_buff *xdp) argument
2287 i40e_xmit_xdp_tx_ring(struct xdp_buff *xdp, struct i40e_ring *xdp_ring) argument
2303 i40e_run_xdp(struct i40e_ring *rx_ring, struct xdp_buff *xdp, struct bpf_prog *xdp_prog) argument
2422 i40e_add_xdp_frag(struct xdp_buff *xdp, u32 *nr_frags, struct i40e_rx_buffer *rx_buffer, u32 size) argument
2454 i40e_consume_xdp_buff(struct i40e_ring *rx_ring, struct xdp_buff *xdp, struct i40e_rx_buffer *rx_buffer) argument
2484 struct xdp_buff *xdp = &rx_ring->xdp; local
[all...]
/linux-master/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt.c1979 struct xdp_buff xdp; local
1172 __bnxt_rx_agg_pages(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct skb_shared_info *shinfo, u16 idx, u32 agg_bufs, bool tpa, struct xdp_buff *xdp) argument
1265 bnxt_rx_agg_pages_xdp(struct bnxt *bp, struct bnxt_cp_ring_info *cpr, struct xdp_buff *xdp, u16 idx, u32 agg_bufs, bool tpa) argument
[all...]
/linux-master/drivers/net/
H A Dtun.c1220 static int tun_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
1294 struct xdp_frame *xdp = frames[i]; local
1315 static int tun_xdp_tx(struct net_device *dev, struct xdp_buff *xdp) argument
1619 tun_xdp_act(struct tun_struct *tun, struct bpf_prog *xdp_prog, struct xdp_buff *xdp, u32 act) argument
1705 struct xdp_buff xdp; local
2437 tun_xdp_one(struct tun_struct *tun, struct tun_file *tfile, struct xdp_buff *xdp, int *flush, struct tun_page *tpage) argument
2562 struct xdp_buff *xdp; local
[all...]
H A Dvirtio_net.c1037 static void put_xdp_frags(struct xdp_buff *xdp) argument
1052 static int virtnet_xdp_handler(struct bpf_prog *xdp_prog, struct xdp_buff *xdp, argument
1220 struct xdp_buff xdp; local
1390 build_skb_from_xdp_buff(struct net_device *dev, struct virtnet_info *vi, struct xdp_buff *xdp, unsigned int xdp_frags_truesz) argument
1433 virtnet_build_xdp_buff_mrg(struct net_device *dev, struct virtnet_info *vi, struct receive_queue *rq, struct xdp_buff *xdp, void *buf, unsigned int len, unsigned int frame_sz, int *num_buf, unsigned int *xdp_frags_truesize, struct virtnet_rq_stats *stats) argument
1613 struct xdp_buff xdp; local
4108 virtnet_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
[all...]
H A Dxen-netfront.c1028 struct xdp_buff xdp; local
1037 struct xen_netif_extra_info *xdp; local
968 xennet_run_xdp(struct netfront_queue *queue, struct page *pdata, struct xen_netif_rx_response *rx, struct bpf_prog *prog, struct xdp_buff *xdp, bool *need_xdp_flush) argument
1603 talk_to_netback_xdp(struct netfront_info *np, int xdp) argument
1664 xennet_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
[all...]
H A Dveth.c122 struct xdp_buff xdp; member in struct:veth_xdp_buff
282 static void *veth_xdp_to_ptr(struct xdp_frame *xdp) argument
592 static int veth_xdp_tx(struct veth_rq *rq, struct xdp_buff *xdp, argument
620 struct xdp_buff *xdp local
316 veth_forward_skb(struct net_device *dev, struct sk_buff *skb, struct veth_rq *rq, bool xdp) argument
709 veth_xdp_get(struct xdp_buff *xdp) argument
722 veth_convert_skb_to_xdp_buff(struct veth_rq *rq, struct xdp_buff *xdp, struct sk_buff **pskb) argument
769 struct xdp_buff *xdp = &vxbuf.xdp; local
1603 veth_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac_main.c4995 stmmac_xdp_xmit_back(struct stmmac_priv *priv, struct xdp_buff *xdp) argument
5023 __stmmac_xdp_run_prog(struct stmmac_priv *priv, struct bpf_prog *prog, struct xdp_buff *xdp) argument
5058 stmmac_xdp_run_prog(struct stmmac_priv *priv, struct xdp_buff *xdp) argument
5090 stmmac_construct_skb_zc(struct stmmac_channel *ch, struct xdp_buff *xdp) argument
5111 stmmac_dispatch_skb_zc(struct stmmac_priv *priv, u32 queue, struct dma_desc *p, struct dma_desc *np, struct xdp_buff *xdp) argument
5213 xsk_buff_to_stmmac_ctx(struct xdp_buff *xdp) argument
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c4907 static int mlx5e_xdp(struct net_device *dev, struct netdev_bpf *xdp) argument
[all...]
/linux-master/net/xdp/
H A Dxsk.c157 static int xsk_rcv_zc(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) argument
228 static int __xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) argument
314 xsk_rcv_check(struct xdp_sock *xs, struct xdp_buff *xdp, u32 len) argument
341 xsk_generic_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) argument
356 xsk_rcv(struct xdp_sock *xs, struct xdp_buff *xdp) argument
376 __xsk_map_redirect(struct xdp_sock *xs, struct xdp_buff *xdp) argument
[all...]
/linux-master/drivers/net/ethernet/amazon/ena/
H A Dena_netdev.c1171 static int ena_xdp_handle_buff(struct ena_ring *rx_ring, struct xdp_buff *xdp, u16 num_descs) argument
1219 struct xdp_buff xdp; local
[all...]
/linux-master/drivers/net/ethernet/microsoft/mana/
H A Dmana_en.c1510 struct xdp_buff xdp = {}; local
1482 mana_build_skb(struct mana_rxq *rxq, void *buf_va, uint pkt_len, struct xdp_buff *xdp) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_pf.c2679 static int otx2_xdp(struct net_device *netdev, struct netdev_bpf *xdp) argument
/linux-master/drivers/net/ethernet/freescale/
H A Dfec_main.c1593 fec_enet_run_xdp(struct fec_enet_private *fep, struct bpf_prog *prog, struct xdp_buff *xdp, struct fec_enet_priv_rx_q *rxq, int cpu) argument
1682 struct xdp_buff xdp; local
3910 fec_enet_xdp_tx_xmit(struct fec_enet_private *fep, int cpu, struct xdp_buff *xdp, u32 dma_sync_len) argument
[all...]
/linux-master/include/net/
H A Dxdp_sock.h199 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
/linux-master/kernel/bpf/
H A Dcpumap.c143 struct xdp_buff xdp; local
183 struct xdp_buff xdp; local
[all...]
/linux-master/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c251 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...]

Completed in 635 milliseconds

123456