diff options
author | Mark Zhang <markz@mellanox.com> | 2019-07-31 14:40:14 +0300 |
---|---|---|
committer | Leon Romanovsky <leonro@mellanox.com> | 2019-08-04 11:24:48 +0300 |
commit | 7084ed30ae2aba4efb4d3ef72c0e7042644e7637 (patch) | |
tree | 0492b542c80e457e72c99865697686283f130ba7 /drivers/infiniband | |
parent | ea77388b02270b0af8dc57f668f311235ea068f0 (diff) | |
download | linux-7084ed30ae2aba4efb4d3ef72c0e7042644e7637.tar.xz |
IB/mlx5: Support MLX5_CMD_OP_QUERY_LAG as a DEVX general command
The "MLX5_CMD_OP_QUERY_LAG" is one of the DEVX general commands, add it.
Fixes: 8aa8c95ce4cc ("IB/mlx5: Add support for DEVX general command")
Signed-off-by: Mark Zhang <markz@mellanox.com>
Reviewed-by: Yishai Hadas <yishaih@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/mlx5/devx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/devx.c b/drivers/infiniband/hw/mlx5/devx.c index ec4370f99381..48968b4d561d 100644 --- a/drivers/infiniband/hw/mlx5/devx.c +++ b/drivers/infiniband/hw/mlx5/devx.c @@ -922,6 +922,7 @@ static bool devx_is_general_cmd(void *in, struct mlx5_ib_dev *dev) case MLX5_CMD_OP_QUERY_CONG_STATUS: case MLX5_CMD_OP_QUERY_CONG_PARAMS: case MLX5_CMD_OP_QUERY_CONG_STATISTICS: + case MLX5_CMD_OP_QUERY_LAG: return true; default: return false; |