| /linux-6.15/include/net/ |
| H A D | xdp.h | 256 struct xdp_frame { struct 346 struct xdp_frame *xdpf_clone(struct xdp_frame *xdpf); 362 struct xdp_frame *xdp_frame) in xdp_update_frame_from_buff() argument 379 xdp_frame->data = xdp->data; in xdp_update_frame_from_buff() 381 xdp_frame->headroom = headroom - sizeof(*xdp_frame); in xdp_update_frame_from_buff() 382 xdp_frame->metasize = metasize; in xdp_update_frame_from_buff() 383 xdp_frame->frame_sz = xdp->frame_sz; in xdp_update_frame_from_buff() 384 xdp_frame->flags = xdp->flags; in xdp_update_frame_from_buff() 393 struct xdp_frame *xdp_frame; in xdp_convert_buff_to_frame() local 399 xdp_frame = xdp->data_hard_start; in xdp_convert_buff_to_frame() [all …]
|
| /linux-6.15/include/linux/ |
| H 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-6.15/drivers/net/ethernet/amazon/ena/ |
| H 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()
|
| H 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-6.15/net/core/ |
| H A D | xdp.c | 463 void xdp_return_frame(struct xdp_frame *xdpf) in xdp_return_frame() 480 void xdp_return_frame_rx_napi(struct xdp_frame *xdpf) in xdp_return_frame_rx_napi() 509 void xdp_return_frame_bulk(struct xdp_frame *xdpf, in xdp_return_frame_bulk() 575 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp) in xdp_convert_zc_to_xdp_frame() 579 struct xdp_frame *xdpf; in xdp_convert_zc_to_xdp_frame() 788 struct sk_buff *__xdp_build_skb_from_frame(struct xdp_frame *xdpf, in __xdp_build_skb_from_frame() 844 struct sk_buff *xdp_build_skb_from_frame(struct xdp_frame *xdpf, in xdp_build_skb_from_frame() 859 struct xdp_frame *xdpf_clone(struct xdp_frame *xdpf) in xdpf_clone() 862 struct xdp_frame *nxdpf; in xdpf_clone()
|
| /linux-6.15/kernel/bpf/ |
| H 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 …]
|
| H A D | cpumap.c | 193 struct xdp_frame *xdpf = frames[i]; in cpu_map_bpf_prog_run_xdp() 378 struct xdp_frame *xdpf = frames[i]; in cpu_map_kthread_run() 728 struct xdp_frame *xdpf = bq->q[i]; in bq_flush_to_queue() 750 static void bq_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf) in bq_enqueue() 775 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf, in cpu_map_enqueue()
|
| /linux-6.15/drivers/net/ethernet/fungible/funeth/ |
| H 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-6.15/drivers/net/ethernet/microchip/lan966x/ |
| H 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-6.15/drivers/net/ethernet/ti/ |
| H 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-6.15/drivers/net/vmxnet3/ |
| H A D | vmxnet3_xdp.c | 116 struct xdp_frame *xdpf, in vmxnet3_xdp_xmit_frame() 207 struct xdp_frame *xdpf) in vmxnet3_xdp_xmit_back() 229 int n, struct xdp_frame **frames, u32 flags) in vmxnet3_xdp_xmit() 264 struct xdp_frame *xdpf; in vmxnet3_run_xdp()
|
| H A D | vmxnet3_xdp.h | 27 int vmxnet3_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/en/ |
| H 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-6.15/drivers/net/ethernet/aquantia/atlantic/ |
| H A D | aq_ring.h | 58 struct xdp_frame *xdpf; 203 struct xdp_frame **frames, u32 flags);
|
| /linux-6.15/drivers/net/ethernet/microsoft/mana/ |
| H 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-6.15/drivers/net/ethernet/pensando/ionic/ |
| H A D | ionic_txrx.h | 21 int ionic_xdp_xmit(struct net_device *netdev, int n, struct xdp_frame **xdp, u32 flags);
|
| /linux-6.15/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc.c | 65 static struct xdp_frame * 69 return tx_swbd->xdp_frame; in enetc_tx_swbd_get_xdp_frame() 94 struct xdp_frame *xdp_frame = enetc_tx_swbd_get_xdp_frame(tx_swbd); in enetc_free_tx_frame() local 100 if (xdp_frame) { in enetc_free_tx_frame() 102 tx_swbd->xdp_frame = NULL; in enetc_free_tx_frame() 1154 struct xdp_frame *xdp_frame = enetc_tx_swbd_get_xdp_frame(tx_swbd); in enetc_clean_tx_ring() local 1178 if (xdp_frame) { in enetc_clean_tx_ring() 1630 struct xdp_frame *xdp_frame) in enetc_xdp_frame_to_xdp_tx_swbd() argument 1634 void *data = xdp_frame->data; in enetc_xdp_frame_to_xdp_tx_swbd() 1635 int len = xdp_frame->len; in enetc_xdp_frame_to_xdp_tx_swbd() [all …]
|
| H A D | enetc.h | 28 struct xdp_frame *xdp_frame; member 482 struct xdp_frame **frames, u32 flags);
|
| /linux-6.15/drivers/net/ |
| H A D | veth.c | 83 struct xdp_frame *q[VETH_XDP_TX_BULK_SIZE]; 279 static struct xdp_frame *veth_ptr_to_xdp(void *ptr) in veth_ptr_to_xdp() 284 static void *veth_xdp_to_ptr(struct xdp_frame *xdp) in veth_xdp_to_ptr() 476 struct xdp_frame **frames, in veth_xdp_xmit() 505 struct xdp_frame *frame = frames[i]; in veth_xdp_xmit() 533 struct xdp_frame **frames, u32 flags) in veth_ndo_xdp_xmit() 597 struct xdp_frame *frame = xdp_convert_buff_to_frame(xdp); in veth_xdp_tx() 610 static struct xdp_frame *veth_xdp_rcv_one(struct veth_rq *rq, in veth_xdp_rcv_one() 611 struct xdp_frame *frame, in veth_xdp_rcv_one() 615 struct xdp_frame orig_frame; in veth_xdp_rcv_one() [all …]
|
| /linux-6.15/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_xdp.h | 25 struct xdp_frame **frames, u32 flags);
|
| H 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-6.15/drivers/net/hyperv/ |
| H 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-6.15/drivers/net/ethernet/intel/ixgbe/ |
| H A D | ixgbe_txrx_common.h | 17 struct xdp_frame *xdpf);
|
| /linux-6.15/drivers/net/ethernet/sfc/siena/ |
| H 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-6.15/drivers/net/ethernet/intel/i40e/ |
| H 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,
|