Home
last modified time | relevance | path

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

1234

/linux/include/linux/
H A Dif_tun.h33 static inline void *tun_xdp_to_ptr(struct xdp_frame *xdp) in tun_xdp_to_ptr()
38 static inline struct xdp_frame *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp()
67 static inline void *tun_xdp_to_ptr(struct xdp_frame *xdp) in tun_xdp_to_ptr()
72 static inline struct xdp_frame *tun_ptr_to_xdp(void *ptr) in tun_ptr_to_xdp()
/linux/drivers/net/ethernet/amazon/ena/
H A Dena_xdp.h40 struct xdp_frame *xdpf,
43 struct xdp_frame **frames, u32 flags);
87 struct xdp_frame *xdpf; in ena_xdp_execute()
H A Dena_xdp.c21 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/net/core/
H A Dxdp.c464 void xdp_return_frame(struct xdp_frame *xdpf) in xdp_return_frame()
481 void xdp_return_frame_rx_napi(struct xdp_frame *xdpf) in xdp_return_frame_rx_napi()
510 void xdp_return_frame_bulk(struct xdp_frame *xdpf, in xdp_return_frame_bulk()
576 struct xdp_frame *xdp_convert_zc_to_xdp_frame(struct xdp_buff *xdp) in xdp_convert_zc_to_xdp_frame()
580 struct xdp_frame *xdpf; in xdp_convert_zc_to_xdp_frame()
794 struct sk_buff *__xdp_build_skb_from_frame(struct xdp_frame *xdpf, in __xdp_build_skb_from_frame()
849 struct sk_buff *xdp_build_skb_from_frame(struct xdp_frame *xdpf, in xdp_build_skb_from_frame()
864 struct xdp_frame *xdpf_clone(struct xdp_frame *xdpf) in xdpf_clone()
867 struct xdp_frame *nxdpf; in xdpf_clone()
/linux/drivers/net/ethernet/fungible/funeth/
H A Dfuneth_txrx.h101 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/
H A Dlan966x_xdp.c55 struct xdp_frame **frames, in lan966x_xdp_xmit()
62 struct xdp_frame *xdpf = frames[i]; in lan966x_xdp_xmit()
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_xdp.c116 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 Dvmxnet3_xdp.h27 int vmxnet3_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.h87 struct xdp_frame *xdpf;
108 int mlx5e_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
/linux/drivers/net/ethernet/google/gve/
H A Dgve.h369 struct xdp_frame *xdp_frame; /* xdp_frame */ member
429 struct xdp_frame *xdpf;
1227 int gve_xdp_xmit_gqi(struct net_device *dev, int n, struct xdp_frame **frames,
1229 int gve_xdp_xmit_dqo(struct net_device *dev, int n, struct xdp_frame **frames,
1235 struct xdp_frame *xdpf);
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ring.h58 struct xdp_frame *xdpf;
207 struct xdp_frame **frames, u32 flags);
/linux/kernel/bpf/
H A Dcpumap.c194 struct xdp_frame *xdpf = frames[i]; in cpu_map_bpf_prog_run_xdp()
382 struct xdp_frame *xdpf = frames[i]; in cpu_map_kthread_run()
740 struct xdp_frame *xdpf = bq->q[i]; in bq_flush_to_queue()
763 static void bq_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf) in bq_enqueue()
793 int cpu_map_enqueue(struct bpf_cpu_map_entry *rcpu, struct xdp_frame *xdpf, in cpu_map_enqueue()
/linux/include/net/libeth/
H A Dxdp.h345 struct xdp_frame *xdpf;
847 const struct xdp_frame *: \
849 struct xdp_frame *: \
853 static inline void *__libeth_xdp_xmit_frame_dma(const struct xdp_frame *xdpf) in __libeth_xdp_xmit_frame_dma()
875 struct xdp_frame *xdpf, in libeth_xdp_xmit_queue_head()
937 struct xdp_frame *xdpf, in libeth_xdp_xmit_queue_bulk()
992 struct xdp_frame *xdpf; in libeth_xdp_xmit_fill_buf()
1053 struct xdp_frame **frames, u32 n, u32 flags, in __libeth_xdp_xmit_do_bulk()
H A Dtx.h66 struct xdp_frame *xdpf;
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_txrx.h21 int ionic_xdp_xmit(struct net_device *netdev, int n, struct xdp_frame **xdp, u32 flags);
/linux/drivers/net/ethernet/microsoft/mana/
H A Dmana_bpf.c35 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/freescale/enetc/
H A Denetc.c137 static struct xdp_frame *
141 return tx_swbd->xdp_frame; in enetc_tx_swbd_get_xdp_frame()
166 struct xdp_frame *xdp_frame = enetc_tx_swbd_get_xdp_frame(tx_swbd); in enetc_free_tx_frame() local
172 if (xdp_frame) { in enetc_free_tx_frame()
173 xdp_return_frame(tx_swbd->xdp_frame); in enetc_free_tx_frame()
174 tx_swbd->xdp_frame = NULL; in enetc_free_tx_frame()
1262 struct xdp_frame *xdp_frame = enetc_tx_swbd_get_xdp_frame(tx_swbd); in enetc_clean_tx_ring() local
1286 if (xdp_frame) { in enetc_clean_tx_ring()
1287 xdp_return_frame(xdp_frame); in enetc_clean_tx_ring()
1743 struct xdp_frame *xdp_frame) in enetc_xdp_frame_to_xdp_tx_swbd() argument
[all …]
H A Denetc.h42 struct xdp_frame *xdp_frame; member
530 struct xdp_frame **frames, u32 flags);
/linux/drivers/net/
H A Dveth.c84 struct xdp_frame *q[VETH_XDP_TX_BULK_SIZE];
284 static struct xdp_frame *veth_ptr_to_xdp(void *ptr) in veth_ptr_to_xdp()
289 static void *veth_xdp_to_ptr(struct xdp_frame *xdp) in veth_xdp_to_ptr()
505 struct xdp_frame **frames, in veth_xdp_xmit()
534 struct xdp_frame *frame = frames[i]; in veth_xdp_xmit()
562 struct xdp_frame **frames, u32 flags) in veth_ndo_xdp_xmit()
626 struct xdp_frame *frame = xdp_convert_buff_to_frame(xdp); in veth_xdp_tx()
639 static struct xdp_frame *veth_xdp_rcv_one(struct veth_rq *rq, in veth_xdp_rcv_one()
640 struct xdp_frame *frame, in veth_xdp_rcv_one()
644 struct xdp_frame orig_fram in veth_xdp_rcv_one()
[all...]
/linux/drivers/net/hyperv/
H A Dnetvsc_bpf.c230 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/
H A Dixgbe_txrx_common.h17 struct xdp_frame *xdpf);
/linux/drivers/net/ethernet/sfc/siena/
H A Dtx.c208 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/
H A Di40e_txrx.h266 struct xdp_frame *xdpf;
477 int i40e_xdp_xmit(struct net_device *dev, int n, struct xdp_frame **frames,
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c110 struct xdp_frame *xdpf) in __bnxt_xmit_xdp_redirect()
331 struct xdp_frame **frames, u32 flags) in bnxt_xdp_xmit()
357 struct xdp_frame *xdp = frames[i]; in bnxt_xdp_xmit()
/linux/net/bpf/
H A Dtest_run.c95 DECLARE_FLEX_ARRAY(struct xdp_frame, frame);
105 struct xdp_frame **frames;
127 struct xdp_frame *frm; in xdp_test_run_init_page()
241 static int xdp_recv_frames(struct xdp_frame **frames, int nframes, in xdp_recv_frames()
257 struct xdp_frame *xdpf = frames[i]; in xdp_recv_frames()
278 struct xdp_frame **frames = xdp->frames; in xdp_test_run_batch()
281 struct xdp_frame *frm; in xdp_test_run_batch()
1380 if (xdp_metalen_invalid(meta_sz) || meta_sz > headroom - sizeof(struct xdp_frame)) in bpf_prog_test_run_xdp()

1234