Home
last modified time | relevance | path

Searched refs:xsk_buffs (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
Drx.c25 struct xdp_buff **xsk_buffs; in mlx5e_xsk_alloc_rx_mpwqe() local
34 xsk_buffs = (struct xdp_buff **)wi->alloc_units.xsk_buffs; in mlx5e_xsk_alloc_rx_mpwqe()
35 batch = xsk_buff_alloc_batch(rq->xsk_pool, xsk_buffs, in mlx5e_xsk_alloc_rx_mpwqe()
45 xsk_buffs[batch] = xsk_buff_alloc(rq->xsk_pool); in mlx5e_xsk_alloc_rx_mpwqe()
46 if (unlikely(!xsk_buffs[batch])) in mlx5e_xsk_alloc_rx_mpwqe()
56 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe()
57 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe()
66 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe()
67 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe()
79 struct mlx5e_xdp_buff *mxbuf = xsk_buff_to_mxbuf(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe()
[all …]
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den.h576 DECLARE_FLEX_ARRAY(struct xdp_buff *, xsk_buffs);
Den_rx.c564 struct xdp_buff **xsk_buffs = wi->alloc_units.xsk_buffs; in mlx5e_free_rx_mpwqe() local
572 xsk_buff_free(xsk_buffs[i]); in mlx5e_free_rx_mpwqe()
Den_main.c565 rq->wqe.frags[i].xskp = &rq->wqe.alloc_units->xsk_buffs[i]; in mlx5e_init_xsk_buffs()
583 aus_sz = sizeof(*aus->xsk_buffs); in mlx5e_init_wqe_alloc_info()