Searched refs:xsk_buffs (Results 1 – 4 of 4) sorted by relevance
25 struct xdp_buff **xsk_buffs; in mlx5e_xsk_alloc_rx_mpwqe() local34 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 …]
576 DECLARE_FLEX_ARRAY(struct xdp_buff *, xsk_buffs);
564 struct xdp_buff **xsk_buffs = wi->alloc_units.xsk_buffs; in mlx5e_free_rx_mpwqe() local572 xsk_buff_free(xsk_buffs[i]); in mlx5e_free_rx_mpwqe()
565 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()