Home
last modified time | relevance | path

Searched refs:xdpi (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c63 struct mlx5e_xdp_info xdpi; in mlx5e_xmit_xdp_buff() local
87 xdpi.mode = MLX5E_XDP_XMIT_MODE_FRAME; in mlx5e_xmit_xdp_buff()
97 xdpi.frame.xdpf = xdpf; in mlx5e_xmit_xdp_buff()
98 xdpi.frame.dma_addr = dma_addr; in mlx5e_xmit_xdp_buff()
106 xdpi.mode = MLX5E_XDP_XMIT_MODE_PAGE; in mlx5e_xmit_xdp_buff()
113 xdpi.page.rq = rq; in mlx5e_xmit_xdp_buff()
114 xdpi.page.di = *di; in mlx5e_xmit_xdp_buff()
117 return sq->xmit_xdp_frame(sq, &xdptxd, &xdpi, 0); in mlx5e_xmit_xdp_buff()
252 struct mlx5e_xdp_info *xdpi, in mlx5e_xmit_xdp_frame_mpwqe() argument
282 mlx5e_xdpi_fifo_push(&sq->db.xdpi_fifo, xdpi); in mlx5e_xmit_xdp_frame_mpwqe()
[all …]
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Dtx.c50 struct mlx5e_xdp_info *xdpi) in mlx5e_xsk_tx_post_err() argument
60 mlx5e_xdpi_fifo_push(&sq->db.xdpi_fifo, xdpi); in mlx5e_xsk_tx_post_err()
67 struct mlx5e_xdp_info xdpi; in mlx5e_xsk_tx() local
72 xdpi.mode = MLX5E_XDP_XMIT_MODE_XSK; in mlx5e_xsk_tx()
99 if (unlikely(!sq->xmit_xdp_frame(sq, &xdptxd, &xdpi, check_result))) { in mlx5e_xsk_tx()
103 mlx5e_xsk_tx_post_err(sq, &xdpi); in mlx5e_xsk_tx()
/drivers/net/ethernet/ti/
Dcpsw_priv.h367 struct xdp_attachment_info xdpi; member
Dcpsw.c2345 if (!priv->xdpi.prog && !prog) in cpsw_xdp_prog_setup()
2348 if (!xdp_attachment_flags_ok(&priv->xdpi, bpf)) in cpsw_xdp_prog_setup()
2353 xdp_attachment_setup(&priv->xdpi, bpf); in cpsw_xdp_prog_setup()
2367 return xdp_attachment_query(&priv->xdpi, bpf); in cpsw_ndo_bpf()