diff options
Diffstat (limited to 'drivers/infiniband/hw/mlx5/cmd.c')
-rw-r--r-- | drivers/infiniband/hw/mlx5/cmd.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/infiniband/hw/mlx5/cmd.c b/drivers/infiniband/hw/mlx5/cmd.c index 470995fa38d2..6f6712f87a73 100644 --- a/drivers/infiniband/hw/mlx5/cmd.c +++ b/drivers/infiniband/hw/mlx5/cmd.c | |||
@@ -47,17 +47,6 @@ int mlx5_cmd_null_mkey(struct mlx5_core_dev *dev, u32 *null_mkey) | |||
47 | return err; | 47 | return err; |
48 | } | 48 | } |
49 | 49 | ||
50 | int mlx5_cmd_query_cong_counter(struct mlx5_core_dev *dev, | ||
51 | bool reset, void *out, int out_size) | ||
52 | { | ||
53 | u32 in[MLX5_ST_SZ_DW(query_cong_statistics_in)] = { }; | ||
54 | |||
55 | MLX5_SET(query_cong_statistics_in, in, opcode, | ||
56 | MLX5_CMD_OP_QUERY_CONG_STATISTICS); | ||
57 | MLX5_SET(query_cong_statistics_in, in, clear, reset); | ||
58 | return mlx5_cmd_exec(dev, in, sizeof(in), out, out_size); | ||
59 | } | ||
60 | |||
61 | int mlx5_cmd_query_cong_params(struct mlx5_core_dev *dev, int cong_point, | 50 | int mlx5_cmd_query_cong_params(struct mlx5_core_dev *dev, int cong_point, |
62 | void *out, int out_size) | 51 | void *out, int out_size) |
63 | { | 52 | { |