DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v1 1/2] app: update usage field
@ 2019-05-07  6:51 Vipin Varghese
  2019-05-07  6:51 ` Vipin Varghese
  2019-05-07  6:51 ` [dpdk-dev] [PATCH v1 2/2] doc: update usage field for port-queue Vipin Varghese
  0 siblings, 2 replies; 10+ messages in thread
From: Vipin Varghese @ 2019-05-07  6:51 UTC (permalink / raw)
  To: dev, marko.kovacevic, john.mcnamara, ramirose,
	pablo.de.lara.guarch, bruce.richardson
  Cc: sanjay.padubidri, Vipin Varghese

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* [dpdk-dev] [PATCH v1 2/2] doc: update usage field for port-queue
@ 2019-05-07  6:49 Vipin Varghese
  2019-05-07  6:49 ` Vipin Varghese
  0 siblings, 1 reply; 10+ messages in thread
From: Vipin Varghese @ 2019-05-07  6:49 UTC (permalink / raw)
  To: dev, marko.kovacevic, john.mcnamara, ramirose,
	pablo.de.lara.guarch, bruce.richardson,
	v1-0001-app-update-usage-field.patch
  Cc: sanjay.padubidri, Vipin Varghese

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 <vipin.varghese@intel.com>
---
 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
 -----------
 
-- 
2.17.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-07-30 11:27 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-07  6:51 [dpdk-dev] [PATCH v1 1/2] app: update usage field Vipin Varghese
2019-05-07  6:51 ` Vipin Varghese
2019-05-07  6:51 ` [dpdk-dev] [PATCH v1 2/2] doc: update usage field for port-queue Vipin Varghese
2019-05-07  6:51   ` Vipin Varghese
2019-05-07 15:07   ` Mcnamara, John
2019-05-07 15:07     ` Mcnamara, John
2019-07-08 19:45   ` Thomas Monjalon
2019-07-30 11:27     ` Mcnamara, John
  -- strict thread matches above, loose matches on Subject: below --
2019-05-07  6:49 Vipin Varghese
2019-05-07  6:49 ` Vipin Varghese

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).