Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/
Dparams.h122 u8 mlx5e_mpwqe_get_min_wqe_bulk(unsigned int wq_sz);
Dparams.c446 u8 mlx5e_mpwqe_get_min_wqe_bulk(unsigned int wq_sz) in mlx5e_mpwqe_get_min_wqe_bulk() argument
449 return min_t(unsigned int, UMR_WQE_BULK, wq_sz / 2 - 1); in mlx5e_mpwqe_get_min_wqe_bulk()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Den_main.c293 int wq_sz = mlx5_wq_ll_get_size(&rq->mpwqe.wq); in mlx5e_rq_alloc_mpwqe_info() local
296 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() local
577 int len = wq_sz << rq->wqe.info.log_num_frags; in mlx5e_init_wqe_alloc_info()
740 int wq_sz; in mlx5e_alloc_rq() local
770 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 …]
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()