From: Avihai Horon Date: Mon, 8 Sep 2025 16:52:55 +0000 (-0700) Subject: fwctl/mlx5: Allow MODIFY_CONG_STATUS command X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb81f72f86e0ad7da83236c2f8b2db5a8f1310ba;p=thirdparty%2Fkernel%2Fstable.git fwctl/mlx5: Allow MODIFY_CONG_STATUS command MODIFY_CONG_STATUS command is used to enable or disable congestion control according to a given priority and protocol. Add MODIFY_CONG_STATUS to the allowed commands under configuration scope. Link: https://patch.msgid.link/r/20250908165256.1255985-2-saeed@kernel.org Signed-off-by: Avihai Horon Reviewed-by: Dave Jiang Signed-off-by: Jason Gunthorpe --- diff --git a/drivers/fwctl/mlx5/main.c b/drivers/fwctl/mlx5/main.c index 4b379f695eb73..3d32c1d778799 100644 --- a/drivers/fwctl/mlx5/main.c +++ b/drivers/fwctl/mlx5/main.c @@ -188,6 +188,7 @@ static bool mlx5ctl_validate_rpc(const void *in, enum fwctl_rpc_scope scope) * filter commands manually for now. */ switch (opcode) { + case MLX5_CMD_OP_MODIFY_CONG_STATUS: case MLX5_CMD_OP_POSTPONE_CONNECTED_QP_TIMEOUT: case MLX5_CMD_OP_QUERY_ADAPTER: case MLX5_CMD_OP_QUERY_ESW_FUNCTIONS: