From: Mark Zhang <markz@mellanox.com>
Date: Wed, 31 Jul 2019 14:40:14 +0300
Subject: IB/mlx5: Support MLX5_CMD_OP_QUERY_LAG as a DEVX general command
Patch-mainline: v5.4-rc1
Git-commit: 7084ed30ae2aba4efb4d3ef72c0e7042644e7637
References: bsc#1103991 FATE#326007
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>
Acked-by: Thomas Bogendoerfer <tbogendoerfer@suse.de>
---
drivers/infiniband/hw/mlx5/devx.c | 1 +
1 file changed, 1 insertion(+)
--- a/drivers/infiniband/hw/mlx5/devx.c
+++ b/drivers/infiniband/hw/mlx5/devx.c
@@ -613,6 +613,7 @@ static bool devx_is_general_cmd(void *in
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;