netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH iproute2] dcb: app: Add missing "dcb app show dev X default-prio"
@ 2022-01-18 11:36 Petr Machata
  2022-01-19  2:44 ` David Ahern
  2022-01-19 20:36 ` Stephen Hemminger
  0 siblings, 2 replies; 6+ messages in thread
From: Petr Machata @ 2022-01-18 11:36 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>
Tested-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..54a95a07 100644
--- a/dcb/dcb_app.c
+++ b/dcb/dcb_app.c
@@ -646,6 +646,8 @@ static int dcb_cmd_app_show(struct dcb *dcb, const char *dev, int argc, char **a
 			goto out;
 		} else if (matches(*argv, "ethtype-prio") == 0) {
 			dcb_app_print_ethtype_prio(&tab);
+		} else if (matches(*argv, "default-prio") == 0) {
+			dcb_app_print_default_prio(&tab);
 		} else if (matches(*argv, "dscp-prio") == 0) {
 			dcb_app_print_dscp_prio(dcb, &tab);
 		} else if (matches(*argv, "stream-port-prio") == 0) {
-- 
2.31.1


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

end of thread, other threads:[~2022-01-19 23:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-18 11:36 [PATCH iproute2] dcb: app: Add missing "dcb app show dev X default-prio" Petr Machata
2022-01-19  2:44 ` David Ahern
2022-01-19 10:38   ` Petr Machata
2022-01-19 20:35     ` Stephen Hemminger
2022-01-19 23:39       ` David Ahern
2022-01-19 20:36 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).