Searched refs:xdptxd (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 62 struct mlx5e_xmit_data xdptxd; in mlx5e_xmit_xdp_buff() local 71 xdptxd.data = xdpf->data; in mlx5e_xmit_xdp_buff() 72 xdptxd.len = xdpf->len; in mlx5e_xmit_xdp_buff() 89 dma_addr = dma_map_single(sq->pdev, xdptxd.data, xdptxd.len, in mlx5e_xmit_xdp_buff() 96 xdptxd.dma_addr = dma_addr; in mlx5e_xmit_xdp_buff() 109 dma_sync_single_for_device(sq->pdev, dma_addr, xdptxd.len, in mlx5e_xmit_xdp_buff() 112 xdptxd.dma_addr = dma_addr; in mlx5e_xmit_xdp_buff() 118 mlx5e_xmit_xdp_frame, sq, &xdptxd, &xdpi, 0); in mlx5e_xmit_xdp_buff() 265 mlx5e_xmit_xdp_frame_mpwqe(struct mlx5e_xdpsq *sq, struct mlx5e_xmit_data *xdptxd, in mlx5e_xmit_xdp_frame_mpwqe() argument 271 if (unlikely(xdptxd->len > sq->hw_mtu)) { in mlx5e_xmit_xdp_frame_mpwqe() [all …]
|
D | xdp.h | 61 struct mlx5e_xmit_data *xdptxd, 65 struct mlx5e_xmit_data *xdptxd, 141 struct mlx5e_xmit_data *xdptxd, in mlx5e_xdp_mpwqe_add_dseg() argument 147 u32 dma_len = xdptxd->len; in mlx5e_xdp_mpwqe_add_dseg() 159 memcpy(inline_dseg->data, xdptxd->data, dma_len); in mlx5e_xdp_mpwqe_add_dseg() 166 dseg->addr = cpu_to_be64(xdptxd->dma_addr); in mlx5e_xdp_mpwqe_add_dseg()
|
/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | tx.c | 70 struct mlx5e_xmit_data xdptxd; in mlx5e_xsk_tx() local 99 xdptxd.dma_addr = xsk_buff_raw_get_dma(pool, desc.addr); in mlx5e_xsk_tx() 100 xdptxd.data = xsk_buff_raw_get_data(pool, desc.addr); in mlx5e_xsk_tx() 101 xdptxd.len = desc.len; in mlx5e_xsk_tx() 103 xsk_buff_raw_dma_sync_for_device(pool, xdptxd.dma_addr, xdptxd.len); in mlx5e_xsk_tx() 106 mlx5e_xmit_xdp_frame, sq, &xdptxd, &xdpi, check_result); in mlx5e_xsk_tx()
|