diff --git a/drivers/fwctl/mlx5/main.c b/drivers/fwctl/mlx5/main.c index 3e2d96d55cefdc..fcb4e26c132e07 100644 --- a/drivers/fwctl/mlx5/main.c +++ b/drivers/fwctl/mlx5/main.c @@ -2,6 +2,7 @@ /* * Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES */ +#define DEBUG #include #include #include @@ -107,10 +108,10 @@ static int mlx5ctl_open_uctx(struct fwctl_uctx *uctx) * which allows commands to manipulate the global device state. * Otherwise only basic existing RDMA devx privilege are allowed. */ - if (MLX5_CAP_GEN(mcdev->mdev, uctx_cap) & +/* if (MLX5_CAP_GEN(mcdev->mdev, uctx_cap) & MLX5_UCTX_OBJECT_CAP_TOOLS_RESOURCES) mfd->uctx_caps |= MLX5_UCTX_OBJECT_CAP_TOOLS_RESOURCES; - +*/ uid = mlx5ctl_alloc_uid(mcdev, mfd->uctx_caps); if (uid < 0) return uid;