From patchwork Tue May 7 06:51:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Varghese, Vipin" X-Patchwork-Id: 53304 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org 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 ; 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 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 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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 --- 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" From patchwork Tue May 7 06:49:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Varghese, Vipin" X-Patchwork-Id: 53303 X-Patchwork-Delegate: thomas@monjalon.net Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 95DE62082; Tue, 7 May 2019 08:49:25 +0200 (CEST) Received: from mga06.intel.com (unknown [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 3A3471F28 for ; Tue, 7 May 2019 08:49:24 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 May 2019 23:49:23 -0700 X-ExtLoop1: 1 Received: from unknown (HELO saesrv02-S2600CWR.intel.com) ([10.224.122.203]) by fmsmga006.fm.intel.com with ESMTP; 06 May 2019 23:49:20 -0700 From: Vipin Varghese 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, v1-0001-app-update-usage-field.patch@dpdk.org Cc: sanjay.padubidri@intel.com, Vipin Varghese Date: Tue, 7 May 2019 12:19:48 +0530 Message-Id: <20190507064948.34567-1-vipin.varghese@intel.com> X-Mailer: git-send-email 2.17.1 Subject: [dpdk-dev] [PATCH v1 2/2] doc: update usage field for port-queue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Usage option q is reflect how many port-queue pair can run per lcore. Updating usage field to refelct port-queue is done for one RX and TX only. Signed-off-by: Vipin Varghese --- doc/guides/sample_app_ug/l2_forward_crypto.rst | 4 +++- doc/guides/sample_app_ug/l2_forward_job_stats.rst | 6 +++++- doc/guides/sample_app_ug/l2_forward_real_virtual.rst | 6 +++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/doc/guides/sample_app_ug/l2_forward_crypto.rst b/doc/guides/sample_app_ug/l2_forward_crypto.rst index e8d52dad2..c6b4e900f 100644 --- a/doc/guides/sample_app_ug/l2_forward_crypto.rst +++ b/doc/guides/sample_app_ug/l2_forward_crypto.rst @@ -55,7 +55,7 @@ where, * p PORTMASK: A hexadecimal bitmask of the ports to configure (default is all the ports) -* q NQ: A number of queues (=ports) per lcore (default is 1) +* q NQ: A number of ports per lcore (default is 1) * s: manage all ports from single core @@ -180,6 +180,8 @@ and the Environment Abstraction Layer (EAL) options. * All crypto devices shall use the same session. + * DPDK port-queue pair configured is only one for both RX and TX. + Explanation ----------- diff --git a/doc/guides/sample_app_ug/l2_forward_job_stats.rst b/doc/guides/sample_app_ug/l2_forward_job_stats.rst index dfc1ed9ca..81951a04d 100644 --- a/doc/guides/sample_app_ug/l2_forward_job_stats.rst +++ b/doc/guides/sample_app_ug/l2_forward_job_stats.rst @@ -87,7 +87,7 @@ where, * p PORTMASK: A hexadecimal bitmask of the ports to configure -* q NQ: A number of queues (=ports) per lcore (default is 1) +* q NQ: A number of ports per lcore (default is 1) * l: Use locale thousands separator when formatting big numbers. @@ -101,6 +101,10 @@ thousands separator printing, issue the command: Refer to the *DPDK Getting Started Guide* for general information on running applications and the Environment Abstraction Layer (EAL) options. +.. note:: + + DPDK port-queue pair configured is only one for both RX and TX. + Explanation ----------- diff --git a/doc/guides/sample_app_ug/l2_forward_real_virtual.rst b/doc/guides/sample_app_ug/l2_forward_real_virtual.rst index e5b28e425..d0da37db7 100644 --- a/doc/guides/sample_app_ug/l2_forward_real_virtual.rst +++ b/doc/guides/sample_app_ug/l2_forward_real_virtual.rst @@ -97,7 +97,7 @@ where, * p PORTMASK: A hexadecimal bitmask of the ports to configure -* q NQ: A number of queues (=ports) per lcore (default is 1) +* q NQ: A number of ports per lcore (default is 1) * --[no-]mac-updating: Enable or disable MAC addresses updating (enabled by default). @@ -111,6 +111,10 @@ updating enabled, issue the command: Refer to the *DPDK Getting Started Guide* for general information on running applications and the Environment Abstraction Layer (EAL) options. +.. note:: + + DPDK port-queue pair configured is only one for both RX and TX. + Explanation -----------