xdptxd 62 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c struct mlx5e_xdp_xmit_data xdptxd; xdptxd 71 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.data = xdpf->data; xdptxd 72 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.len = xdpf->len; xdptxd 89 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c dma_addr = dma_map_single(sq->pdev, xdptxd.data, xdptxd.len, xdptxd 96 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.dma_addr = dma_addr; xdptxd 109 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c dma_sync_single_for_device(sq->pdev, dma_addr, xdptxd.len, xdptxd 112 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.dma_addr = dma_addr; xdptxd 117 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c return sq->xmit_xdp_frame(sq, &xdptxd, &xdpi, 0); xdptxd 251 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c struct mlx5e_xdp_xmit_data *xdptxd, xdptxd 258 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c if (unlikely(xdptxd->len > sq->hw_mtu)) { xdptxd 276 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c mlx5e_xdp_mpwqe_add_dseg(sq, xdptxd, stats); xdptxd 300 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c struct mlx5e_xdp_xmit_data *xdptxd, xdptxd 312 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c dma_addr_t dma_addr = xdptxd->dma_addr; xdptxd 313 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c u32 dma_len = xdptxd->len; xdptxd 333 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c memcpy(eseg->inline_hdr.start, xdptxd->data, MLX5E_XDP_MIN_INLINE); xdptxd 496 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c struct mlx5e_xdp_xmit_data xdptxd; xdptxd 499 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.data = xdpf->data; xdptxd 500 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.len = xdpf->len; xdptxd 501 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.dma_addr = dma_map_single(sq->pdev, xdptxd.data, xdptxd 502 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.len, DMA_TO_DEVICE); xdptxd 504 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c if (unlikely(dma_mapping_error(sq->pdev, xdptxd.dma_addr))) { xdptxd 512 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdpi.frame.dma_addr = xdptxd.dma_addr; xdptxd 514 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c if (unlikely(!sq->xmit_xdp_frame(sq, &xdptxd, &xdpi, 0))) { xdptxd 515 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c dma_unmap_single(sq->pdev, xdptxd.dma_addr, xdptxd 516 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.c xdptxd.len, DMA_TO_DEVICE); xdptxd 159 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h struct mlx5e_xdp_xmit_data *xdptxd, xdptxd 165 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h u32 dma_len = xdptxd->len; xdptxd 176 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h memcpy(inline_dseg->data, xdptxd->data, dma_len); xdptxd 183 drivers/net/ethernet/mellanox/mlx5/core/en/xdp.h dseg->addr = cpu_to_be64(xdptxd->dma_addr); xdptxd 71 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c struct mlx5e_xdp_xmit_data xdptxd; xdptxd 95 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c xdptxd.dma_addr = xdp_umem_get_dma(umem, desc.addr); xdptxd 96 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c xdptxd.data = xdp_umem_get_data(umem, desc.addr); xdptxd 97 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c xdptxd.len = desc.len; xdptxd 99 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c dma_sync_single_for_device(sq->pdev, xdptxd.dma_addr, xdptxd 100 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c xdptxd.len, DMA_BIDIRECTIONAL); xdptxd 102 drivers/net/ethernet/mellanox/mlx5/core/en/xsk/tx.c if (unlikely(!sq->xmit_xdp_frame(sq, &xdptxd, &xdpi, check_result))) {