| /linux/include/net/ |
| A D | xdp.h | 166 struct xdp_frame { struct 249 struct xdp_frame *xdpf_clone(struct xdp_frame *xdpf); 264 struct xdp_frame *xdp_frame) in xdp_update_frame_from_buff() argument 281 xdp_frame->data = xdp->data; in xdp_update_frame_from_buff() 283 xdp_frame->headroom = headroom - sizeof(*xdp_frame); in xdp_update_frame_from_buff() 284 xdp_frame->metasize = metasize; in xdp_update_frame_from_buff() 286 xdp_frame->flags = xdp->flags; in xdp_update_frame_from_buff() 295 struct xdp_frame *xdp_frame; in xdp_convert_buff_to_frame() local 301 xdp_frame = xdp->data_hard_start; in xdp_convert_buff_to_frame() 306 xdp_frame->mem = xdp->rxq->mem; in xdp_convert_buff_to_frame() [all …]
|
| /linux/include/linux/ |
| A D | if_tun.h | 36 static inline void *tun_xdp_to_ptr(struct xdp_frame *xdp) in tun_xdp_to_ptr() 41 static inline struct xdp_frame *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp() 68 static inline void *tun_xdp_to_ptr(struct xdp_frame *xdp) in tun_xdp_to_ptr() 73 static inline struct xdp_frame *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp()
|
| /linux/net/core/ |
| A D | xdp.c | 407 void xdp_return_frame(struct xdp_frame *xdpf) in xdp_return_frame() 426 void xdp_return_frame_rx_napi(struct xdp_frame *xdpf) in xdp_return_frame_rx_napi() 469 void xdp_return_frame_bulk(struct xdp_frame *xdpf, in xdp_return_frame_bulk() 541 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp) in xdp_convert_zc_to_xdp_frame() 545 struct xdp_frame *xdpf; in xdp_convert_zc_to_xdp_frame() 597 struct sk_buff *__xdp_build_skb_from_frame(struct xdp_frame *xdpf, in __xdp_build_skb_from_frame() 653 struct sk_buff *xdp_build_skb_from_frame(struct xdp_frame *xdpf, in xdp_build_skb_from_frame() 668 struct xdp_frame *xdpf_clone(struct xdp_frame *xdpf) in xdpf_clone() 671 struct xdp_frame *nxdpf; in xdpf_clone()
|
| /linux/drivers/net/ethernet/amazon/ena/ |
| A D | ena_xdp.h | 40 struct xdp_frame *xdpf, 43 struct xdp_frame **frames, u32 flags); 87 struct xdp_frame *xdpf; in ena_xdp_execute()
|
| A D | ena_xdp.c | 21 struct xdp_frame *xdpf, in ena_xdp_tx_map_frame() 77 struct xdp_frame *xdpf, in ena_xdp_xmit_frame() 122 struct xdp_frame **frames, u32 flags) in ena_xdp_xmit() 381 struct xdp_frame *xdpf; in ena_clean_xdp_irq()
|
| /linux/kernel/bpf/ |
| A D | devmap.c | 57 struct xdp_frame *q[DEV_MAP_BULK_SIZE]; 335 struct xdp_frame **frames, int n, in dev_map_bpf_prog_run() 345 struct xdp_frame *xdpf = frames[i]; in dev_map_bpf_prog_run() 388 struct xdp_frame *xdpf = bq->q[i]; in bq_xmit_all() 456 static void bq_enqueue(struct net_device *dev, struct xdp_frame *xdpf, in bq_enqueue() 534 int dev_xdp_enqueue(struct net_device *dev, struct xdp_frame *xdpf, in dev_xdp_enqueue() 540 int dev_map_enqueue(struct bpf_dtab_netdev *dst, struct xdp_frame *xdpf, in dev_map_enqueue() 548 static bool is_valid_dst(struct bpf_dtab_netdev *obj, struct xdp_frame *xdpf) in is_valid_dst() 568 struct xdp_frame *xdpf) in dev_map_enqueue_clone() 570 struct xdp_frame *nxdpf; in dev_map_enqueue_clone() [all …]
|
| A D | cpumap.c | 188 struct xdp_frame *xdpf = frames[i]; in cpu_map_bpf_prog_run_xdp() 345 struct xdp_frame *xdpf = frames[i]; in cpu_map_kthread_run() 688 struct xdp_frame *xdpf = bq->q[i]; in bq_flush_to_queue() 710 static void bq_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf) in bq_enqueue() 735 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf, in cpu_map_enqueue()
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| A D | funeth_txrx.h | 101 struct xdp_frame *xdpf; /* associated XDP frame (XDP path) */ 250 bool fun_xdp_tx(struct funeth_txq *q, struct xdp_frame *xdpf); 252 struct xdp_frame **frames, u32 flags);
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| A D | lan966x_xdp.c | 55 struct xdp_frame **frames, in lan966x_xdp_xmit() 62 struct xdp_frame *xdpf = frames[i]; in lan966x_xdp_xmit()
|
| /linux/drivers/net/ethernet/ti/ |
| A D | cpsw_priv.h | 409 #define CPSW_XMETA_OFFSET ALIGN(sizeof(struct xdp_frame), sizeof(long)) 427 static inline void *cpsw_xdpf_to_handle(struct xdp_frame *xdpf) in cpsw_xdpf_to_handle() 432 static inline struct xdp_frame *cpsw_handle_to_xdpf(void *handle) in cpsw_handle_to_xdpf() 434 return (struct xdp_frame *)((unsigned long)handle & ~BIT(0)); in cpsw_handle_to_xdpf() 448 int cpsw_xdp_tx_frame(struct cpsw_priv *priv, struct xdp_frame *xdpf,
|
| /linux/drivers/net/vmxnet3/ |
| A D | vmxnet3_xdp.c | 116 struct xdp_frame *xdpf, in vmxnet3_xdp_xmit_frame() 202 struct xdp_frame *xdpf) in vmxnet3_xdp_xmit_back() 224 int n, struct xdp_frame **frames, u32 flags) in vmxnet3_xdp_xmit() 254 struct xdp_frame *xdpf; in vmxnet3_run_xdp()
|
| A D | vmxnet3_xdp.h | 27 int vmxnet3_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | xdp.h | 93 struct xdp_frame *xdpf; 113 int mlx5e_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
|
| /linux/drivers/net/ethernet/aquantia/atlantic/ |
| A D | aq_ring.h | 58 struct xdp_frame *xdpf; 203 struct xdp_frame **frames, u32 flags);
|
| /linux/drivers/net/ethernet/freescale/enetc/ |
| A D | enetc.c | 61 static struct xdp_frame * 65 return tx_swbd->xdp_frame; in enetc_tx_swbd_get_xdp_frame() 90 struct xdp_frame *xdp_frame = enetc_tx_swbd_get_xdp_frame(tx_swbd); in enetc_free_tx_frame() local 96 if (xdp_frame) { in enetc_free_tx_frame() 98 tx_swbd->xdp_frame = NULL; in enetc_free_tx_frame() 832 struct xdp_frame *xdp_frame = enetc_tx_swbd_get_xdp_frame(tx_swbd); in enetc_clean_tx_ring() local 856 if (xdp_frame) { in enetc_clean_tx_ring() 1307 struct xdp_frame *xdp_frame) in enetc_xdp_frame_to_xdp_tx_swbd() argument 1311 void *data = xdp_frame->data; in enetc_xdp_frame_to_xdp_tx_swbd() 1312 int len = xdp_frame->len; in enetc_xdp_frame_to_xdp_tx_swbd() [all …]
|
| A D | enetc.h | 27 struct xdp_frame *xdp_frame; member 434 struct xdp_frame **frames, u32 flags);
|
| /linux/drivers/net/ethernet/microsoft/mana/ |
| A D | mana_bpf.c | 35 static int mana_xdp_xmit_fm(struct net_device *ndev, struct xdp_frame *frame, in mana_xdp_xmit_fm() 51 int mana_xdp_xmit(struct net_device *ndev, int n, struct xdp_frame **frames, in mana_xdp_xmit()
|
| /linux/drivers/net/ethernet/pensando/ionic/ |
| A D | ionic_txrx.h | 21 int ionic_xdp_xmit(struct net_device *netdev, int n, struct xdp_frame **xdp, u32 flags);
|
| /linux/drivers/net/ |
| A D | veth.c | 82 struct xdp_frame *q[VETH_XDP_TX_BULK_SIZE]; 278 static struct xdp_frame *veth_ptr_to_xdp(void *ptr) in veth_ptr_to_xdp() 283 static void *veth_xdp_to_ptr(struct xdp_frame *xdp) in veth_xdp_to_ptr() 475 struct xdp_frame **frames, in veth_xdp_xmit() 504 struct xdp_frame *frame = frames[i]; in veth_xdp_xmit() 532 struct xdp_frame **frames, u32 flags) in veth_ndo_xdp_xmit() 596 struct xdp_frame *frame = xdp_convert_buff_to_frame(xdp); in veth_xdp_tx() 609 static struct xdp_frame *veth_xdp_rcv_one(struct veth_rq *rq, in veth_xdp_rcv_one() 610 struct xdp_frame *frame, in veth_xdp_rcv_one() 614 struct xdp_frame orig_frame; in veth_xdp_rcv_one() [all …]
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| A D | bnxt_xdp.h | 25 struct xdp_frame **frames, u32 flags);
|
| A D | bnxt_xdp.c | 110 struct xdp_frame *xdpf) in __bnxt_xmit_xdp_redirect() 332 struct xdp_frame **frames, u32 flags) in bnxt_xdp_xmit() 358 struct xdp_frame *xdp = frames[i]; in bnxt_xdp_xmit()
|
| /linux/drivers/net/hyperv/ |
| A D | netvsc_bpf.c | 230 struct xdp_frame *frame, u16 q_idx) in netvsc_ndoxdp_xmit_fm() 248 struct xdp_frame **frames, u32 flags) in netvsc_ndoxdp_xmit()
|
| /linux/drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_txrx_common.h | 17 struct xdp_frame *xdpf);
|
| /linux/drivers/net/ethernet/sfc/siena/ |
| A D | tx.c | 208 int efx_siena_xdp_tx_buffers(struct efx_nic *efx, int n, struct xdp_frame **xdpfs, in efx_siena_xdp_tx_buffers() 213 struct xdp_frame *xdpf; in efx_siena_xdp_tx_buffers()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| A D | i40e_txrx.h | 265 struct xdp_frame *xdpf; 476 int i40e_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
|