Home
last modified time | relevance | path

Searched refs:xdp_frame (Results 1 – 20 of 20) sorted by relevance

/drivers/net/
Dveth.c70 struct xdp_frame *q[VETH_XDP_TX_BULK_SIZE];
393 struct xdp_frame **frames, u32 flags) in veth_xdp_xmit()
428 struct xdp_frame *frame = frames[i]; in veth_xdp_xmit()
494 struct xdp_frame *frame = convert_to_xdp_frame(xdp); in veth_xdp_tx()
508 struct xdp_frame *frame, in veth_xdp_rcv_one()
513 void *head = hard_start - sizeof(struct xdp_frame); in veth_xdp_rcv_one()
515 struct xdp_frame orig_frame; in veth_xdp_rcv_one()
574 headroom = sizeof(struct xdp_frame) + frame->headroom - delta; in veth_xdp_rcv_one()
740 struct xdp_frame *frame = veth_ptr_to_xdp(ptr); in veth_xdp_rcv()
Dtun.c657 struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr); in tun_ptr_free()
1282 struct xdp_frame **frames, u32 flags) in tun_xdp_xmit()
1310 struct xdp_frame *xdp = frames[i]; in tun_xdp_xmit()
1333 struct xdp_frame *frame = convert_to_xdp_frame(xdp); in tun_xdp_tx()
2035 struct xdp_frame *xdp_frame, in tun_put_user_xdp() argument
2039 size_t size = xdp_frame->len; in tun_put_user_xdp()
2055 ret = copy_to_iter(xdp_frame->data, size, iter) + vnet_hdr_sz; in tun_put_user_xdp()
2225 struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr); in tun_do_read()
2611 struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr); in tun_ptr_peek_len()
Dvirtio_net.c249 static void *xdp_to_ptr(struct xdp_frame *ptr) in xdp_to_ptr()
254 static struct xdp_frame *ptr_to_xdp(void *ptr) in ptr_to_xdp()
256 return (struct xdp_frame *)((unsigned long)ptr & ~VIRTIO_XDP_FLAG); in ptr_to_xdp()
448 struct xdp_frame *xdpf) in __virtnet_xdp_xmit_one()
486 int n, struct xdp_frame **frames, u32 flags) in virtnet_xdp_xmit()
519 struct xdp_frame *frame = ptr_to_xdp(ptr); in virtnet_xdp_xmit()
533 struct xdp_frame *xdpf = frames[i]; in virtnet_xdp_xmit()
655 struct xdp_frame *xdpf; in receive_small()
803 struct xdp_frame *xdpf; in receive_mergeable()
1368 struct xdp_frame *frame = ptr_to_xdp(ptr); in free_old_xmit_skbs()
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c60 struct xdp_frame *xdpf) in __bnxt_xmit_xdp_redirect()
215 struct xdp_frame **frames, u32 flags) in bnxt_xdp_xmit()
235 struct xdp_frame *xdp = frames[i]; in bnxt_xdp_xmit()
Dbnxt_xdp.h22 struct xdp_frame **frames, u32 flags);
Dbnxt.h685 struct xdp_frame *xdpf;
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c64 struct xdp_frame *xdpf; in mlx5e_xmit_xdp_buff()
471 int mlx5e_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames, in mlx5e_xdp_xmit()
495 struct xdp_frame *xdpf = frames[i]; in mlx5e_xdp_xmit()
Dxdp.h72 int mlx5e_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_txrx_common.h16 struct xdp_frame *xdpf);
Dixgbe_xsk.c149 struct xdp_frame *xdpf; in ixgbe_run_xdp_zc()
Dixgbe.h216 struct xdp_frame *xdpf;
Dixgbe_main.c2202 struct xdp_frame *xdpf; in ixgbe_run_xdp()
8532 struct xdp_frame *xdpf) in ixgbe_xmit_xdp_ring()
10313 struct xdp_frame **frames, u32 flags) in ixgbe_xdp_xmit()
10337 struct xdp_frame *xdpf = frames[i]; in ixgbe_xdp_xmit()
/drivers/net/ethernet/intel/i40e/
Di40e_txrx.h285 struct xdp_frame *xdpf;
496 int i40e_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
Di40e_txrx.c2178 static int i40e_xmit_xdp_ring(struct xdp_frame *xdpf,
2183 struct xdp_frame *xdpf = convert_to_xdp_frame(xdp); in i40e_xmit_xdp_tx_ring()
3503 static int i40e_xmit_xdp_ring(struct xdp_frame *xdpf, in i40e_xmit_xdp_ring()
3702 int i40e_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames, in i40e_xdp_xmit()
3726 struct xdp_frame *xdpf = frames[i]; in i40e_xdp_xmit()
/drivers/net/ethernet/ti/
Dcpsw.c85 #define CPSW_XMETA_OFFSET ALIGN(sizeof(struct xdp_frame), sizeof(long))
358 static void *cpsw_xdpf_to_handle(struct xdp_frame *xdpf) in cpsw_xdpf_to_handle()
363 static struct xdp_frame *cpsw_handle_to_xdpf(void *handle) in cpsw_handle_to_xdpf()
365 return (struct xdp_frame *)((unsigned long)handle & ~BIT(0)); in cpsw_handle_to_xdpf()
376 struct xdp_frame *xdpf; in cpsw_tx_handler()
450 static int cpsw_xdp_tx_frame(struct cpsw_priv *priv, struct xdp_frame *xdpf, in cpsw_xdp_tx_frame()
467 dma += xdpf->headroom + sizeof(struct xdp_frame); in cpsw_xdp_tx_frame()
494 struct xdp_frame *xdpf; in cpsw_run_xdp()
2375 struct xdp_frame **frames, u32 flags) in cpsw_ndo_xdp_xmit()
2378 struct xdp_frame *xdpf; in cpsw_ndo_xdp_xmit()
/drivers/net/ethernet/socionext/
Dnetsec.c271 struct xdp_frame *xdpf;
814 struct xdp_frame *xdpf, bool is_ndo) in netsec_xdp_queue_one()
869 struct xdp_frame *xdpf = convert_to_xdp_frame(xdp); in netsec_xdp_xmit_back()
1740 struct xdp_frame **frames, u32 flags) in netsec_xdp_xmit()
1752 struct xdp_frame *xdpf = frames[i]; in netsec_xdp_xmit()
/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-eth.h116 struct xdp_frame *xdpf;
Ddpaa2-eth.c1847 struct xdp_frame *xdpf) in dpaa2_eth_xdp_xmit_frame()
1921 struct xdp_frame **frames, u32 flags) in dpaa2_eth_xdp_xmit()
1933 struct xdp_frame *xdpf = frames[i]; in dpaa2_eth_xdp_xmit()
/drivers/net/ethernet/mellanox/mlx5/core/
Den.h462 struct xdp_frame *xdpf;
/drivers/vhost/
Dnet.c201 struct xdp_frame *xdpf = tun_ptr_to_xdp(ptr); in vhost_net_buf_peek_len()