Searched refs:wq_sz (Results 1 – 4 of 4) sorted by relevance
122 u8 mlx5e_mpwqe_get_min_wqe_bulk(unsigned int wq_sz);
446 u8 mlx5e_mpwqe_get_min_wqe_bulk(unsigned int wq_sz) in mlx5e_mpwqe_get_min_wqe_bulk() argument449 return min_t(unsigned int, UMR_WQE_BULK, wq_sz / 2 - 1); in mlx5e_mpwqe_get_min_wqe_bulk()
293 int wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rq_alloc_mpwqe_info() local296 alloc_size = array_size(wq_sz, struct_size(rq->mpwqe.info, in mlx5e_rq_alloc_mpwqe_info()307 for (int i = 0; i < wq_sz; i++) { in mlx5e_rq_alloc_mpwqe_info()576 int wq_sz = mlx5_wq_cyc_get_size(&rq->wqe.wq); in mlx5e_init_wqe_alloc_info() local577 int len = wq_sz << rq->wqe.info.log_num_frags; in mlx5e_init_wqe_alloc_info()740 int wq_sz; in mlx5e_alloc_rq() local770 wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_alloc_rq()793 rq->mpwqe.min_wqe_bulk = mlx5e_mpwqe_get_min_wqe_bulk(wq_sz); in mlx5e_alloc_rq()818 wq_sz = mlx5_wq_cyc_get_size(&rq->wqe.wq); in mlx5e_alloc_rq()863 for (i = 0; i < wq_sz; i++) { in mlx5e_alloc_rq()[all …]
134 u32 wq_sz = mlx5_cqwq_get_size(wq); in mlx5e_cqes_update_owner() local135 u32 ci_top = min_t(u32, wq_sz, ci + n); in mlx5e_cqes_update_owner()143 if (unlikely(ci == wq_sz)) { in mlx5e_cqes_update_owner()