Home
last modified time | relevance | path

Searched refs:wq_sz (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.h118 u8 mlx5e_mpwqe_get_min_wqe_bulk(unsigned int wq_sz);
H A Dparams.c461 u8 mlx5e_mpwqe_get_min_wqe_bulk(unsigned int wq_sz) in mlx5e_mpwqe_get_min_wqe_bulk() argument
464 return min_t(unsigned int, UMR_WQE_BULK, wq_sz / 2 - 1); in mlx5e_mpwqe_get_min_wqe_bulk()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_main.c381 int wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rq_alloc_mpwqe_info() local
384 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() local
668 int len = wq_sz << rq->wqe.info.log_num_frags; in mlx5e_init_wqe_alloc_info()
831 int wq_sz; in mlx5e_alloc_rq() local
861 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 …]
H A Den_rx.c134 u32 wq_sz = mlx5_cqwq_get_size(wq); in mlx5e_cqes_update_owner() local
135 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()