Searched refs:xdptxd (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.c | 75 xdptxd = &xdptxdf.xd; in mlx5e_xmit_xdp_buff() 76 xdptxd->data = xdpf->data; in mlx5e_xmit_xdp_buff() 77 xdptxd->len = xdpf->len; in mlx5e_xmit_xdp_buff() 96 dma_addr = dma_map_single(sq->pdev, xdptxd->data, xdptxd->len, in mlx5e_xmit_xdp_buff() 128 if (xdptxd->has_frags) { in mlx5e_xmit_xdp_buff() 155 if (xdptxd->has_frags) { in mlx5e_xmit_xdp_buff() 458 if (xdptxd->has_frags) { in mlx5e_xmit_xdp_frame_mpwqe() 471 if (!xdptxd->len) { in mlx5e_xmit_xdp_frame_mpwqe() 572 if (xdptxd->has_frags) { in mlx5e_xmit_xdp_frame() 877 xdptxd = &xdptxdf.xd; in mlx5e_xdp_xmit() [all …]
|
H A D | xdp.h | 120 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()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
H A D | tx.c | 79 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()
|