mlx5_core_supports_diagnostics
int mlx5_core_supports_diagnostics(struct mlx5_core_dev *mdev, u16 counter_id);
if (mlx5_core_supports_diagnostics(priv->mdev, entry.counter_id) == 0)
if (mlx5_core_supports_diagnostics(priv->mdev, entry.counter_id) == 0)