Searched refs:xdpi (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 63 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/ |
D | tx.c | 50 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/ |
D | cpsw_priv.h | 367 struct xdp_attachment_info xdpi; member
|
D | cpsw.c | 2345 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()
|