Skip to content

Commit cb81f72

Browse files
avihai1122jgunthorpe
authored andcommitted
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/[email protected] Signed-off-by: Avihai Horon <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent f123430 commit cb81f72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/fwctl/mlx5/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,7 @@ static bool mlx5ctl_validate_rpc(const void *in, enum fwctl_rpc_scope scope)
188188
* filter commands manually for now.
189189
*/
190190
switch (opcode) {
191+
case MLX5_CMD_OP_MODIFY_CONG_STATUS:
191192
case MLX5_CMD_OP_POSTPONE_CONNECTED_QP_TIMEOUT:
192193
case MLX5_CMD_OP_QUERY_ADAPTER:
193194
case MLX5_CMD_OP_QUERY_ESW_FUNCTIONS:

0 commit comments

Comments
 (0)