Skip to contentSkip to conversation

devlink: spell out STATE in devlink port function help

PATCH Applied Jiri Pirko 2 participants 2 messages Aug 14, 2023 – Aug 19, 2023

Subsystems (2)
lore
Share & tools
lore

Jiri Pirko

author
#0 lore raw

PATCH 1/1 devlink: spell out STATE in devlink port function help

From: Jiri Pirko <[email protected]>

Be in-sync with port help and port man page and spell out the possible states instead of "STATE".

---
 devlink/devlink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
devlink/devlink.c +1 -1
index 3cb102736b19..1a522111385b 100644
@@ -4962,7 +4962,7 @@ static int cmd_port_param_show(struct dl *dl)
 
 static void cmd_port_function_help(void)
 {
-	pr_err("Usage: devlink port function set DEV/PORT_INDEX [ hw_addr ADDR ] [ state STATE ]\n");
+	pr_err("Usage: devlink port function set DEV/PORT_INDEX [ hw_addr ADDR ] [ state { active | inactive } ]\n");
 	pr_err("                      [ roce { enable | disable } ] [ migratable { enable | disable } ]\n");
 	pr_err("       devlink port function rate { help | show | add | del | set }\n");
 }
Signature · 1 line
2.41.0
#1 lore raw
This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Hello:

This patch was applied to iproute2/iproute2.git (main) by Stephen Hemminger <[email protected]>:

Quoted 8 lines · On Mon, 14 Aug 2023 09:29:01 +0200 you wrote:

From: Jiri Pirko <[email protected]>

Be in-sync with port help and port man page and spell out the possible states instead of "STATE".

[...]

Here is the summary with links:
- [iproute2-next] devlink: spell out STATE in devlink port function help

    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=872148f54e35

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html