[v1,1/2] app: update usage field

Message ID 20190507065146.34911-1-vipin.varghese@intel.com
State New
Delegated to: Thomas Monjalon
Headers show
Series
  • [v1,1/2] app: update usage field
Related show

Checks

Context Check Description
ci/Intel-compilation success Compilation OK
ci/checkpatch success coding style OK

Commit Message

Vipin Varghese May 7, 2019, 6:51 a.m.
Usage option q is reflect how many port-queue pair can run per lcore. In
l2fwd, l2fwd-crypto, l2fwd-jobstats, and l2fwd-keepalive both RX and TX
are configured to be one.

Signed-off-by: Vipin Varghese <vipin.varghese@intel.com>
---
 examples/l2fwd-crypto/main.c    | 2 +-
 examples/l2fwd-jobstats/main.c  | 2 +-
 examples/l2fwd-keepalive/main.c | 2 +-
 examples/l2fwd/main.c           | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

Patch

diff --git a/examples/l2fwd-crypto/main.c b/examples/l2fwd-crypto/main.c
index 06517b471..30c85d1ce 100644
--- a/examples/l2fwd-crypto/main.c
+++ b/examples/l2fwd-crypto/main.c
@@ -955,7 +955,7 @@  l2fwd_crypto_usage(const char *prgname)
 {
 	printf("%s [EAL options] --\n"
 		"  -p PORTMASK: hexadecimal bitmask of ports to configure\n"
-		"  -q NQ: number of queue (=ports) per lcore (default is 1)\n"
+		"  -q NQ: number of ports per lcore (default is 1)\n"
 		"  -s manage all ports from single lcore\n"
 		"  -T PERIOD: statistics will be refreshed each PERIOD seconds"
 		" (0 to disable, 10 default, 86400 maximum)\n"
diff --git a/examples/l2fwd-jobstats/main.c b/examples/l2fwd-jobstats/main.c
index a4d28e178..7841adf99 100644
--- a/examples/l2fwd-jobstats/main.c
+++ b/examples/l2fwd-jobstats/main.c
@@ -547,7 +547,7 @@  l2fwd_usage(const char *prgname)
 {
 	printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n"
 	       "  -p PORTMASK: hexadecimal bitmask of ports to configure\n"
-	       "  -q NQ: number of queue (=ports) per lcore (default is 1)\n"
+	       "  -q NQ: number of ports per lcore (default is 1)\n"
 		   "  -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to disable, 10 default, 86400 maximum)\n"
 		   "  -l set system default locale instead of default (\"C\" locale) for thousands separator in stats.",
 	       prgname);
diff --git a/examples/l2fwd-keepalive/main.c b/examples/l2fwd-keepalive/main.c
index 0bf2b5336..fa0f5848a 100644
--- a/examples/l2fwd-keepalive/main.c
+++ b/examples/l2fwd-keepalive/main.c
@@ -290,7 +290,7 @@  l2fwd_usage(const char *prgname)
 {
 	printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n"
 	       "  -p PORTMASK: hexadecimal bitmask of ports to configure\n"
-	       "  -q NQ: number of queue (=ports) per lcore (default is 1)\n"
+	       "  -q NQ: number of ports per lcore (default is 1)\n"
 	       "  -K PERIOD: Keepalive check period (5 default; 86400 max)\n"
 		   "  -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to disable, 10 default, 86400 maximum)\n",
 	       prgname);
diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c
index 6c23215a5..7694d42e6 100644
--- a/examples/l2fwd/main.c
+++ b/examples/l2fwd/main.c
@@ -293,7 +293,7 @@  l2fwd_usage(const char *prgname)
 {
 	printf("%s [EAL options] -- -p PORTMASK [-q NQ]\n"
 	       "  -p PORTMASK: hexadecimal bitmask of ports to configure\n"
-	       "  -q NQ: number of queue (=ports) per lcore (default is 1)\n"
+	       "  -q NQ: number of ports per lcore (default is 1)\n"
 		   "  -T PERIOD: statistics will be refreshed each PERIOD seconds (0 to disable, 10 default, 86400 maximum)\n"
 		   "  --[no-]mac-updating: Enable or disable MAC addresses updating (enabled by default)\n"
 		   "      When enabled:\n"