From: Saeed Mahameed <saeed@kernel.org>
To: Dave Jiang <dave.jiang@intel.com>, Jason Gunthorpe <jgg@ziepe.ca>
Cc: Avihai Horon <avihaih@nvidia.com>, linux-kernel@vger.kernel.org
Subject: [PATCH fwctl 1/2] fwctl/mlx5: Allow MODIFY_CONG_STATUS command
Date: Mon, 8 Sep 2025 09:52:55 -0700 [thread overview]
Message-ID: <20250908165256.1255985-2-saeed@kernel.org> (raw)
In-Reply-To: <20250908165256.1255985-1-saeed@kernel.org>
From: Avihai Horon <avihaih@nvidia.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@nvidia.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
next prev parent reply other threads:[~2025-09-08 16:53 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-08 16:52 [PATCH fwctl 0/2] fwctl/mlx5: Add few new FW rpc commands Saeed Mahameed
2025-09-08 16:52 ` Saeed Mahameed [this message]
2025-09-17 13:03 ` [PATCH fwctl 1/2] fwctl/mlx5: Allow MODIFY_CONG_STATUS command Jason Gunthorpe
2025-09-08 16:52 ` [PATCH fwctl 2/2] fwctl/mlx5: Add Adjacent function query commands and their scope Saeed Mahameed
2025-09-08 17:29 ` [PATCH fwctl 0/2] fwctl/mlx5: Add few new FW rpc commands Dave Jiang
2025-09-17 13:04 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250908165256.1255985-2-saeed@kernel.org \
--to=saeed@kernel.org \
--cc=avihaih@nvidia.com \
--cc=dave.jiang@intel.com \
--cc=jgg@ziepe.ca \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.