LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File ethtool-show-VF-and-queue-in-the-help-for-N.patch of Package ethtool (Project openSUSE:Leap:15.1:Update)

From: Jacob Keller <jacob.e.keller@intel.com>
Date: Mon, 26 Feb 2018 10:49:55 -0800
Subject: ethtool: show VF and queue in the help for -N
Patch-mainline: v4.17.0? (next release)
Git-commit: c837bea71d37b1327c2e8099da07c8e342456c30
References: bsc#1088294

Show that you can use VF and queue instead of action in the help output,
and not only in the manual page.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Acked-by: Michal Kubecek <mkubecek@suse.cz>

---
 ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ethtool.c b/ethtool.c
index 1a2b7ccd2edf..4149bb4eeda2 100644
--- a/ethtool.c
+++ b/ethtool.c
@@ -4856,7 +4856,7 @@ static const struct option {
 	  "			[ vlan %x [m %x] ]\n"
 	  "			[ user-def %x [m %x] ]\n"
 	  "			[ dst-mac %x:%x:%x:%x:%x:%x [m %x:%x:%x:%x:%x:%x] ]\n"
-	  "			[ action %d ]\n"
+	  "			[ action %d ] | [ vf %d queue %d ]\n"
 	  "			[ loc %d]] |\n"
 	  "		delete %d\n" },
 	{ "-T|--show-time-stamping", 1, do_tsinfo,
-- 
2.16.3