Home
last modified time | relevance | path

Searched refs:xdptxd (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dtx.c79 struct mlx5e_xmit_data xdptxd = {}; in mlx5e_xsk_tx() local
97 xdptxd.dma_addr = xsk_buff_raw_get_dma(pool, desc.addr); in mlx5e_xsk_tx()
98 xdptxd.data = xsk_buff_raw_get_data(pool, desc.addr); in mlx5e_xsk_tx()
99 xdptxd.len = desc.len; in mlx5e_xsk_tx()
102 xsk_buff_raw_dma_sync_for_device(pool, xdptxd.dma_addr, xdptxd.len); in mlx5e_xsk_tx()
105 mlx5e_xmit_xdp_frame, sq, &xdptxd, in mlx5e_xsk_tx()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.h120 struct mlx5e_xmit_data *xdptxd,
124 struct mlx5e_xmit_data *xdptxd,
201 struct mlx5e_xmit_data *xdptxd, in mlx5e_xdp_mpwqe_add_dseg() argument
207 u32 dma_len = xdptxd->len; in mlx5e_xdp_mpwqe_add_dseg()
219 memcpy(inline_dseg->data, xdptxd->data, dma_len); in mlx5e_xdp_mpwqe_add_dseg()
226 dseg->addr = cpu_to_be64(xdptxd->dma_addr); in mlx5e_xdp_mpwqe_add_dseg()