Home
last modified time | relevance | path

Searched refs:wqe_bulk (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/mellanox/mlx5/core/
Den_rx.c402 static int mlx5e_alloc_rx_wqes(struct mlx5e_rq *rq, u16 ix, u8 wqe_bulk) in mlx5e_alloc_rx_wqes() argument
409 int pages_desired = wqe_bulk << rq->wqe.info.log_num_frags; in mlx5e_alloc_rx_wqes()
419 for (i = 0; i < wqe_bulk; i++) { in mlx5e_alloc_rx_wqes()
572 u8 wqe_bulk; in mlx5e_post_rx_wqes() local
578 wqe_bulk = rq->wqe.info.wqe_bulk; in mlx5e_post_rx_wqes()
580 if (mlx5_wq_cyc_missing(wq) < wqe_bulk) in mlx5e_post_rx_wqes()
589 err = mlx5e_alloc_rx_wqes(rq, head, wqe_bulk); in mlx5e_post_rx_wqes()
595 mlx5_wq_cyc_push_n(wq, wqe_bulk); in mlx5e_post_rx_wqes()
596 } while (mlx5_wq_cyc_missing(wq) >= wqe_bulk); in mlx5e_post_rx_wqes()
Den.h608 u8 wqe_bulk; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.c391 info->wqe_bulk = PAGE_SIZE / frag_stride; in mlx5e_build_rq_frags_info()
414 info->wqe_bulk = 1 + (info->num_frags % 2); in mlx5e_build_rq_frags_info()
417 info->wqe_bulk = max_t(u8, info->wqe_bulk, 8); in mlx5e_build_rq_frags_info()