Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A 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()
57 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(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()
80 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe()
107 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(xsk_buffs[i]); in mlx5e_xsk_alloc_rx_mpwqe()
153 xsk_buff_free(xsk_buffs[batch]); in mlx5e_xsk_alloc_rx_mpwqe()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den.h576 DECLARE_FLEX_ARRAY(struct xdp_buff *, xsk_buffs);
H A 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()
H A 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()