Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
jgunthorpe committed Nov 14, 2024
1 parent 99e3f44 commit e4450fb
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/fwctl/mlx5/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
/*
* Copyright (c) 2024, NVIDIA CORPORATION & AFFILIATES
*/
#define DEBUG
#include <linux/fwctl.h>
#include <linux/auxiliary_bus.h>
#include <linux/mlx5/device.h>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit e4450fb

Please sign in to comment.