mlx5_esw_hold
if (!mlx5_esw_hold(priv->mdev))
bool mlx5_esw_hold(struct mlx5_core_dev *dev);
if (!mlx5_esw_hold(dev)) {
while (!mlx5_esw_hold(dev)) {