diff mbox series

[2/3] ethtool: show vf and queue in the help for -N

Message ID 20171110185553.14657-2-jacob.e.keller@intel.com
State Accepted
Delegated to: Jeff Kirsher
Headers show
Series [1/3] ethtool: correct display of VF when showing vf/queue filters | expand

Commit Message

Jacob Keller Nov. 10, 2017, 6:55 p.m. UTC
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>
---
 ethtool.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bowers, AndrewX Nov. 16, 2017, 6:09 p.m. UTC | #1
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces@osuosl.org] On
> Behalf Of Jacob Keller
> Sent: Friday, November 10, 2017 10:56 AM
> To: Intel Wired LAN <intel-wired-lan@lists.osuosl.org>
> Subject: [Intel-wired-lan] [PATCH 2/3] ethtool: show vf and queue in the
> help for -N
> 
> 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>
> ---
>  ethtool.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
diff mbox series

Patch

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,