Searched refs:mlx5e_get_max_sq_wqebbs (Results 1 – 5 of 5) sorted by relevance
523 WARN_ON_ONCE(PAGE_SIZE / MLX5_SEND_WQE_BB < (u16)mlx5e_get_max_sq_wqebbs(mdev)); in mlx5e_stop_room_for_wqe()533 WARN_ONCE(wqe_size > mlx5e_get_max_sq_wqebbs(mdev), in mlx5e_stop_room_for_wqe()535 wqe_size, mlx5e_get_max_sq_wqebbs(mdev)); in mlx5e_stop_room_for_wqe()542 return MLX5E_STOP_ROOM(mlx5e_get_max_sq_wqebbs(mdev)); in mlx5e_stop_room_for_max_wqe()
1186 useful_space = PAGE_SIZE - mlx5e_get_max_sq_wqebbs(mdev) + MLX5_SEND_WQE_BB; in mlx5e_build_icosq_log_wq_sz()
97 u8 max_sq_wqebbs = mlx5e_get_max_sq_wqebbs(mdev); in mlx5e_is_ktls_rx()
194 static inline u8 mlx5e_get_max_sq_wqebbs(struct mlx5_core_dev *mdev) in mlx5e_get_max_sq_wqebbs() function211 u8 wqebbs = mlx5e_get_max_sq_wqebbs(mdev); in mlx5e_get_max_sq_aligned_wqebbs()
6171 if (WARN_ON_ONCE(mlx5e_get_max_sq_wqebbs(priv->mdev) < MLX5E_MAX_TX_WQEBBS)) { in mlx5e_attach_netdev()6173 mlx5e_get_max_sq_wqebbs(priv->mdev), (unsigned int)MLX5E_MAX_TX_WQEBBS); in mlx5e_attach_netdev()