Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dparams.c106 u8 max_pages_per_wqe, max_log_mpwqe_size; in mlx5e_mpwrq_log_wqe_sz() local
113 max_log_mpwqe_size = ilog2(max_pages_per_wqe) + page_shift; in mlx5e_mpwrq_log_wqe_sz()
115 WARN_ON_ONCE(max_log_mpwqe_size < MLX5E_ORDER2_MAX_PACKET_MTU); in mlx5e_mpwrq_log_wqe_sz()
117 return min_t(u8, max_log_mpwqe_size, MLX5_MPWRQ_MAX_LOG_WQE_SZ); in mlx5e_mpwrq_log_wqe_sz()