From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from dpdk.org (dpdk.org [92.243.14.124])
	by dpdk.space (Postfix) with ESMTP id ACA35A0096
	for <public@inbox.dpdk.org>; Tue,  7 May 2019 08:51:21 +0200 (CEST)
Received: from [92.243.14.124] (localhost [127.0.0.1])
	by dpdk.org (Postfix) with ESMTP id 3D5B72082;
	Tue,  7 May 2019 08:51:21 +0200 (CEST)
Received: from mga09.intel.com (mga09.intel.com [134.134.136.24])
 by dpdk.org (Postfix) with ESMTP id 33FF41F28
 for <dev@dpdk.org>; Tue,  7 May 2019 08:51:19 +0200 (CEST)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from fmsmga008.fm.intel.com ([10.253.24.58])
 by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 06 May 2019 23:51:18 -0700
X-ExtLoop1: 1
Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203])
 by fmsmga008.fm.intel.com with ESMTP; 06 May 2019 23:51:15 -0700
From: Vipin Varghese <vipin.varghese@intel.com>
To: dev@dpdk.org, marko.kovacevic@intel.com, john.mcnamara@intel.com,
 ramirose@gmail.com, pablo.de.lara.guarch@intel.com,
 bruce.richardson@intel.com
Cc: sanjay.padubidri@intel.com,
	Vipin Varghese <vipin.varghese@intel.com>
Date: Tue,  7 May 2019 12:21:45 +0530
Message-Id: <20190507065146.34911-1-vipin.varghese@intel.com>
X-Mailer: git-send-email 2.17.1
Subject: [dpdk-dev] [PATCH v1 1/2] app: update usage field
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <20190507065145.WyG-QY2bqgw46SlIkuG-OiZMHg1cT_Yk2NKEp6AI_bo@z>

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(-)

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"
-- 
2.17.1