Searched refs:wqe_bulk (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/ |
D | rx.c | 142 int mlx5e_xsk_alloc_rx_wqes_batched(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_xsk_alloc_rx_wqes_batched() argument 157 if (wqe_bulk <= contig) { in mlx5e_xsk_alloc_rx_wqes_batched() 158 alloc = xsk_buff_alloc_batch(rq->xsk_pool, buffs + ix, wqe_bulk); in mlx5e_xsk_alloc_rx_wqes_batched() 162 alloc += xsk_buff_alloc_batch(rq->xsk_pool, buffs, wqe_bulk - contig); in mlx5e_xsk_alloc_rx_wqes_batched() 182 int mlx5e_xsk_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_xsk_alloc_rx_wqes() argument 187 for (i = 0; i < wqe_bulk; i++) { in mlx5e_xsk_alloc_rx_wqes() 205 return wqe_bulk; in mlx5e_xsk_alloc_rx_wqes()
|
D | rx.h | 12 int mlx5e_xsk_alloc_rx_wqes_batched(struct mlx5e_rq *rq, u16 ix, int wqe_bulk); 13 int mlx5e_xsk_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk);
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/ |
D | en_rx.c | 404 static int mlx5e_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, int wqe_bulk) in mlx5e_alloc_rx_wqes() argument 409 for (i = 0; i < wqe_bulk; i++) { in mlx5e_alloc_rx_wqes() 761 int wqe_bulk, count; in mlx5e_post_rx_wqes() local 768 if (mlx5_wq_cyc_missing(wq) < rq->wqe.info.wqe_bulk) in mlx5e_post_rx_wqes() 774 wqe_bulk = mlx5_wq_cyc_missing(wq); in mlx5e_post_rx_wqes() 780 wqe_bulk -= (head + wqe_bulk) & rq->wqe.info.wqe_index_mask; in mlx5e_post_rx_wqes() 783 count = mlx5e_alloc_rx_wqes(rq, head, wqe_bulk); in mlx5e_post_rx_wqes() 785 count = mlx5e_xsk_alloc_rx_wqes_batched(rq, head, wqe_bulk); in mlx5e_post_rx_wqes() 792 count = mlx5e_xsk_alloc_rx_wqes(rq, head, wqe_bulk); in mlx5e_post_rx_wqes() 795 if (unlikely(count != wqe_bulk)) { in mlx5e_post_rx_wqes()
|
D | en.h | 652 u8 wqe_bulk; member
|
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | params.c | 780 info->wqe_bulk = max_t(u8, info->wqe_index_mask + 1, 8); in mlx5e_build_rq_frags_info()
|