Searched refs:mlx5e_get_max_sq_wqebbs (Results 1 – 5 of 5) sorted by relevance
448 WARN_ON_ONCE(PAGE_SIZE / MLX5_SEND_WQE_BB < mlx5e_get_max_sq_wqebbs(mdev)); in mlx5e_stop_room_for_wqe()458 WARN_ONCE(wqe_size > mlx5e_get_max_sq_wqebbs(mdev), in mlx5e_stop_room_for_wqe()460 wqe_size, mlx5e_get_max_sq_wqebbs(mdev)); in mlx5e_stop_room_for_wqe()467 return MLX5E_STOP_ROOM(mlx5e_get_max_sq_wqebbs(mdev)); in mlx5e_stop_room_for_max_wqe()
1158 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()
212 static inline u8 mlx5e_get_max_sq_wqebbs(struct mlx5_core_dev *mdev) in mlx5e_get_max_sq_wqebbs() function229 u8 wqebbs = mlx5e_get_max_sq_wqebbs(mdev); in mlx5e_get_max_sq_aligned_wqebbs()
5702 if (WARN_ON_ONCE(mlx5e_get_max_sq_wqebbs(priv->mdev) < MLX5E_MAX_TX_WQEBBS)) { in mlx5e_attach_netdev()5704 mlx5e_get_max_sq_wqebbs(priv->mdev), MLX5E_MAX_TX_WQEBBS); in mlx5e_attach_netdev()