Skip to contentSkip to conversation

ethtool: sync help output for -x/-X with man page

PATCH New Ivan Vecera 1 participant 1 message Feb 20, 2017

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ethtool: sync help output for -x/-X with man page

Add missing words to the help output for -x and -X commands as well as an ability to set the indirection table to default value.

---
 ethtool.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
ethtool.c +3 -3
index 7af039e..61043ee 100644
@@ -4786,10 +4786,10 @@ static const struct option {
 	{ "-T|--show-time-stamping", 1, do_tsinfo,
 	  "Show time stamping capabilities" },
 	{ "-x|--show-rxfh-indir|--show-rxfh", 1, do_grxfh,
-	  "Show Rx flow hash indirection and/or hash key" },
+	  "Show Rx flow hash indirection table and/or RSS hash key" },
 	{ "-X|--set-rxfh-indir|--rxfh", 1, do_srxfh,
-	  "Set Rx flow hash indirection and/or hash key",
-	  "		[ equal N | weight W0 W1 ... ]\n"
+	  "Set Rx flow hash indirection table and/or RSS hash key",
+	  "		[ equal N | weight W0 W1 ... | default ]\n"
 	  "		[ hkey %x:%x:%x:%x:%x:.... ]\n" },
 	{ "-f|--flash", 1, do_flash,
 	  "Flash firmware image from the specified file to a region on the device",
Signature · 1 line
2.10.2