Searched refs:alloc_units (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | rx.c | 24 BUILD_BUG_ON(sizeof(wi->alloc_units[0]) != sizeof(wi->alloc_units[0].xsk)); in mlx5e_xsk_alloc_rx_mpwqe() 25 batch = xsk_buff_alloc_batch(rq->xsk_pool, (struct xdp_buff **)wi->alloc_units, in mlx5e_xsk_alloc_rx_mpwqe() 35 wi->alloc_units[batch].xsk = xsk_buff_alloc(rq->xsk_pool); in mlx5e_xsk_alloc_rx_mpwqe() 36 if (unlikely(!wi->alloc_units[batch].xsk)) in mlx5e_xsk_alloc_rx_mpwqe() 46 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(wi->alloc_units[i].xsk); in mlx5e_xsk_alloc_rx_mpwqe() 54 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(wi->alloc_units[i].xsk); in mlx5e_xsk_alloc_rx_mpwqe() 65 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(wi->alloc_units[i].xsk); in mlx5e_xsk_alloc_rx_mpwqe() 90 dma_addr_t addr = xsk_buff_xdp_get_frame_dma(wi->alloc_units[i].xsk); in mlx5e_xsk_alloc_rx_mpwqe() 135 xsk_buff_free(wi->alloc_units[batch].xsk); in mlx5e_xsk_alloc_rx_mpwqe() 153 BUILD_BUG_ON(sizeof(rq->wqe.alloc_units[0]) != in mlx5e_xsk_alloc_rx_wqes_batched() [all …]
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 453 union mlx5e_alloc_unit *alloc_units = wi->alloc_units; in mlx5e_free_rx_mpwqe() local 470 xsk_buff_free(alloc_units[i].xsk); in mlx5e_free_rx_mpwqe() 474 mlx5e_page_release_dynamic(rq, alloc_units[i].page, recycle); in mlx5e_free_rx_mpwqe() 648 union mlx5e_alloc_unit *au = &wi->alloc_units[0]; in mlx5e_alloc_rx_mpwqe() 1883 union mlx5e_alloc_unit *au = &wi->alloc_units[page_idx]; in mlx5e_skb_from_cqe_mpwrq_nonlinear() 1922 union mlx5e_alloc_unit *au = &wi->alloc_units[page_idx]; in mlx5e_skb_from_cqe_mpwrq_linear() 2136 au = &wi->alloc_units[page_idx]; in mlx5e_handle_rx_cqe_mpwrq_shampo()
|
D | en.h | 606 union mlx5e_alloc_unit alloc_units[]; member 693 union mlx5e_alloc_unit *alloc_units; member
|
D | en_main.c | 283 alloc_size = array_size(wq_sz, struct_size(rq->mpwqe.info, alloc_units, in mlx5e_rq_alloc_mpwqe_info() 503 next_frag.au = &rq->wqe.alloc_units[0]; in mlx5e_init_frags_partition() 534 rq->wqe.alloc_units = kvzalloc_node(array_size(len, sizeof(*rq->wqe.alloc_units)), in mlx5e_init_au_list() 536 if (!rq->wqe.alloc_units) in mlx5e_init_au_list() 546 kvfree(rq->wqe.alloc_units); in mlx5e_free_au_list()
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | txrx.h | 486 size_t isz = struct_size(rq->mpwqe.info, alloc_units, rq->mpwqe.pages_per_wqe); in mlx5e_get_mpw_info()
|