Searched refs:wq_sz (Results 1 – 4 of 4) sorted by relevance
118 u8 mlx5e_mpwqe_get_min_wqe_bulk(unsigned int wq_sz);
461 u8 mlx5e_mpwqe_get_min_wqe_bulk(unsigned int wq_sz) in mlx5e_mpwqe_get_min_wqe_bulk() argument464 return min_t(unsigned int, UMR_WQE_BULK, wq_sz / 2 - 1); in mlx5e_mpwqe_get_min_wqe_bulk()
381 int wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rq_alloc_mpwqe_info() local384 alloc_size = array_size(wq_sz, struct_size(rq->mpwqe.info, in mlx5e_rq_alloc_mpwqe_info()395 for (int i = 0; i < wq_sz; i++) { in mlx5e_rq_alloc_mpwqe_info()667 int wq_sz = mlx5_wq_cyc_get_size(&rq->wqe.wq); in mlx5e_init_wqe_alloc_info() local668 int len = wq_sz << rq->wqe.info.log_num_frags; in mlx5e_init_wqe_alloc_info()831 int wq_sz; in mlx5e_alloc_rq() local861 wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_alloc_rq()884 rq->mpwqe.min_wqe_bulk = mlx5e_mpwqe_get_min_wqe_bulk(wq_sz); in mlx5e_alloc_rq()909 wq_sz = mlx5_wq_cyc_get_size(&rq->wqe.wq); in mlx5e_alloc_rq()955 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()