All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH iproute2 v2] dcb: app: Add missing "dcb app show dev X default-prio"
@ 2022-01-20  8:57 Petr Machata
  2022-01-27  4:30 ` patchwork-bot+netdevbpf
  0 siblings, 1 reply; 2+ messages in thread
From: Petr Machata @ 2022-01-20  8:57 UTC (permalink / raw)
  To: netdev; +Cc: David Ahern, Stephen Hemminger, Petr Machata, Maksym Yaremchuk

All the actual code exists, but we neglect to recognize "default-prio" as a
CLI key for selection of what to show.

Reported-by: Maksym Yaremchuk <maksymy@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
---
 dcb/dcb_app.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dcb/dcb_app.c b/dcb/dcb_app.c
index 28f40614..dad34554 100644
--- a/dcb/dcb_app.c
+++ b/dcb/dcb_app.c
@@ -654,6 +654,8 @@ static int dcb_cmd_app_show(struct dcb *dcb, const char *dev, int argc, char **a
 			dcb_app_print_dgram_port_prio(&tab);
 		} else if (matches(*argv, "port-prio") == 0) {
 			dcb_app_print_port_prio(&tab);
+		} else if (matches(*argv, "default-prio") == 0) {
+			dcb_app_print_default_prio(&tab);
 		} else {
 			fprintf(stderr, "What is \"%s\"?\n", *argv);
 			dcb_app_help_show_flush();
-- 
2.31.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH iproute2 v2] dcb: app: Add missing "dcb app show dev X default-prio"
  2022-01-20  8:57 [PATCH iproute2 v2] dcb: app: Add missing "dcb app show dev X default-prio" Petr Machata
@ 2022-01-27  4:30 ` patchwork-bot+netdevbpf
  0 siblings, 0 replies; 2+ messages in thread
From: patchwork-bot+netdevbpf @ 2022-01-27  4:30 UTC (permalink / raw)
  To: Petr Machata; +Cc: netdev, dsahern, stephen, maksymy

Hello:

This patch was applied to iproute2/iproute2.git (main)
by Stephen Hemminger <stephen@networkplumber.org>:

On Thu, 20 Jan 2022 09:57:54 +0100 you wrote:
> All the actual code exists, but we neglect to recognize "default-prio" as a
> CLI key for selection of what to show.
> 
> Reported-by: Maksym Yaremchuk <maksymy@nvidia.com>
> Signed-off-by: Petr Machata <petrm@nvidia.com>
> ---
>  dcb/dcb_app.c | 2 ++
>  1 file changed, 2 insertions(+)

Here is the summary with links:
  - [iproute2,v2] dcb: app: Add missing "dcb app show dev X default-prio"
    https://git.kernel.org/pub/scm/network/iproute2/iproute2.git/commit/?id=924f6b4a5d2b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-27  4:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-20  8:57 [PATCH iproute2 v2] dcb: app: Add missing "dcb app show dev X default-prio" Petr Machata
2022-01-27  4:30 ` patchwork-bot+netdevbpf

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.