lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250908165256.1255985-2-saeed@kernel.org>
Date: Mon,  8 Sep 2025 09:52:55 -0700
From: Saeed Mahameed <saeed@...nel.org>
To: Dave Jiang <dave.jiang@...el.com>,
	Jason Gunthorpe <jgg@...pe.ca>
Cc: Avihai Horon <avihaih@...dia.com>,
	linux-kernel@...r.kernel.org
Subject: [PATCH fwctl 1/2] fwctl/mlx5: Allow MODIFY_CONG_STATUS command

From: Avihai Horon <avihaih@...dia.com>

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.

Change-Id: I6099206ca683de5173fe74fe56f63994f1c4c911
Signed-off-by: Avihai Horon <avihaih@...dia.com>
---
 drivers/fwctl/mlx5/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/fwctl/mlx5/main.c b/drivers/fwctl/mlx5/main.c
index f93aa0cecdb9..7f3a1a9f7224 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:
-- 
2.51.0


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ