test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition
@ 2020-06-17  8:36 yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 1/7] conf/l3fwd: " yufengmx
                   ` (7 more replies)
  0 siblings, 8 replies; 10+ messages in thread
From: yufengmx @ 2020-06-17  8:36 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: yufengmx

change core/thread/queue definition. 
 

yufengmx (7):
  conf/l3fwd: change core/thread/queue definition
  conf/vf_l3fwd_kernelpf: change core/thread/queue definition
  conf/l3fwd_em: change core/thread/queue definition
  conf/l3fwd_lpm_ipv4_rfc2544: change core/thread/queue definition
  conf/l3fwd_lpm_ipv4: change core/thread/queue definition
  conf/l3fwd_lpm_ipv6: change core/thread/queue definition
  tests/l3fwd_base: change core/thread/queue definition

 conf/l3fwd.cfg                  | 90 ++++++++++++++++-----------------
 conf/l3fwd_em.cfg               | 30 +++++------
 conf/l3fwd_lpm_ipv4.cfg         | 20 ++++----
 conf/l3fwd_lpm_ipv4_rfc2544.cfg | 20 ++++----
 conf/l3fwd_lpm_ipv6.cfg         | 20 ++++----
 conf/vf_l3fwd_kernelpf.cfg      | 20 ++++----
 tests/l3fwd_base.py             | 63 ++++++++++++++++++++---
 7 files changed, 156 insertions(+), 107 deletions(-)

-- 
2.21.0


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

* [dts] [PATCH V1 1/7] conf/l3fwd: change core/thread/queue definition
  2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
@ 2020-06-17  8:36 ` " yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 2/7] conf/vf_l3fwd_kernelpf: " yufengmx
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: yufengmx @ 2020-06-17  8:36 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: yufengmx


change core/thread/queue definition.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 conf/l3fwd.cfg | 90 +++++++++++++++++++++++++-------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

diff --git a/conf/l3fwd.cfg b/conf/l3fwd.cfg
index a8a9af4..1e3e1ca 100644
--- a/conf/l3fwd.cfg
+++ b/conf/l3fwd.cfg
@@ -59,15 +59,15 @@ port_list=None
 test_duration = 12
 accepted_tolerance = 1
 test_parameters = {
-    '1C/1T/1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '1C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '4C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
+    '1C/1T-1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '1C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '4C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
 expected_throughput = {
     'test_perf_throughput_ipv4_em': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -75,7 +75,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -83,7 +83,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -91,7 +91,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -99,7 +99,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -109,7 +109,7 @@ expected_throughput = {
                  '1518': '0.00', },},},
     'test_perf_throughput_ipv4_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -117,7 +117,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -125,7 +125,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -133,7 +133,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -141,7 +141,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -151,7 +151,7 @@ expected_throughput = {
                  '1518': '0.00', },},},
     'test_perf_throughput_ipv6_em': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -159,7 +159,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -167,7 +167,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -175,7 +175,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -183,7 +183,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -193,7 +193,7 @@ expected_throughput = {
                  '1518': '0.00', },},},
     'test_perf_throughput_ipv6_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -201,7 +201,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -209,7 +209,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -217,7 +217,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -225,7 +225,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -236,7 +236,7 @@ expected_throughput = {
 expected_rfc2544 = {
     'test_perf_rfc2544_ipv4_em': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -244,7 +244,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -252,7 +252,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -260,7 +260,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -268,7 +268,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -278,7 +278,7 @@ expected_rfc2544 = {
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },},},
     'test_perf_rfc2544_ipv4_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -286,7 +286,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -294,7 +294,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -302,7 +302,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -310,7 +310,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -320,7 +320,7 @@ expected_rfc2544 = {
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },},},
     'test_perf_rfc2544_ipv6_em': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -328,7 +328,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -336,7 +336,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -344,7 +344,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -352,7 +352,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -362,7 +362,7 @@ expected_rfc2544 = {
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },},},
     'test_perf_rfc2544_ipv6_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -370,7 +370,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -378,7 +378,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -386,7 +386,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -394,7 +394,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
-- 
2.21.0


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

* [dts] [PATCH V1 2/7] conf/vf_l3fwd_kernelpf: change core/thread/queue definition
  2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 1/7] conf/l3fwd: " yufengmx
@ 2020-06-17  8:36 ` " yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 3/7] conf/l3fwd_em: " yufengmx
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: yufengmx @ 2020-06-17  8:36 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: yufengmx


change core/thread/queue definition.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 conf/vf_l3fwd_kernelpf.cfg | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/conf/vf_l3fwd_kernelpf.cfg b/conf/vf_l3fwd_kernelpf.cfg
index b0d4ad0..9c71177 100644
--- a/conf/vf_l3fwd_kernelpf.cfg
+++ b/conf/vf_l3fwd_kernelpf.cfg
@@ -54,15 +54,15 @@ update_expected = True
 test_duration = 12
 accepted_tolerance = 1
 test_parameters = {
-    '1C/1T/1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '1C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '4C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
+    '1C/1T-1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '1C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '4C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
 expected_throughput = {
     'test_perf_vf_throughput_ipv4_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -70,7 +70,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -78,7 +78,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -86,7 +86,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -94,7 +94,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
-- 
2.21.0


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

* [dts] [PATCH V1 3/7] conf/l3fwd_em: change core/thread/queue definition
  2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 1/7] conf/l3fwd: " yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 2/7] conf/vf_l3fwd_kernelpf: " yufengmx
@ 2020-06-17  8:36 ` " yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 4/7] conf/l3fwd_lpm_ipv4_rfc2544: change core/thread/queue yufengmx
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: yufengmx @ 2020-06-17  8:36 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: yufengmx


change core/thread/queue definition.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 conf/l3fwd_em.cfg | 30 +++++++++++++++---------------
 1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/conf/l3fwd_em.cfg b/conf/l3fwd_em.cfg
index 7f2408e..6392345 100644
--- a/conf/l3fwd_em.cfg
+++ b/conf/l3fwd_em.cfg
@@ -55,15 +55,15 @@ update_expected = True
 test_duration = 12
 accepted_tolerance = 1
 test_parameters = {
-    '1C/1T/1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '1C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '4C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
+    '1C/1T-1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '1C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '4C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
 expected_throughput = {
     'test_perf_throughput_ipv4_em': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -71,7 +71,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -79,7 +79,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -87,7 +87,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -95,7 +95,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -105,7 +105,7 @@ expected_throughput = {
                  '1518': '0.00', },},},
     'test_perf_throughput_ipv6_em': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -113,7 +113,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -121,7 +121,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -129,7 +129,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -137,7 +137,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
-- 
2.21.0


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

* [dts] [PATCH V1 4/7] conf/l3fwd_lpm_ipv4_rfc2544: change core/thread/queue
  2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
                   ` (2 preceding siblings ...)
  2020-06-17  8:36 ` [dts] [PATCH V1 3/7] conf/l3fwd_em: " yufengmx
@ 2020-06-17  8:36 ` yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 5/7] conf/l3fwd_lpm_ipv4: change core/thread/queue definition yufengmx
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: yufengmx @ 2020-06-17  8:36 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: yufengmx

 definition

change core/thread/queue definition.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 conf/l3fwd_lpm_ipv4_rfc2544.cfg | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/conf/l3fwd_lpm_ipv4_rfc2544.cfg b/conf/l3fwd_lpm_ipv4_rfc2544.cfg
index 4ca40de..3518e94 100644
--- a/conf/l3fwd_lpm_ipv4_rfc2544.cfg
+++ b/conf/l3fwd_lpm_ipv4_rfc2544.cfg
@@ -55,15 +55,15 @@ update_expected = True
 test_duration = 60
 accepted_tolerance = 1
 test_parameters = {
-    '1C/1T/1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '1C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '4C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
+    '1C/1T-1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '1C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '4C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
 expected_rfc2544 = {
     'test_perf_rfc2544_ipv4_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -71,7 +71,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -79,7 +79,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -87,7 +87,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
@@ -95,7 +95,7 @@ expected_rfc2544 = {
                 '1024': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1280': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '1518': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } } },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                 '64': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '128': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
                 '256': { 'rate' :'100.00', 'traffic_opt': {'min_rate': '10.0', 'max_rate': '100.0', 'pdr': '0.01', 'accuracy': '5', } },
-- 
2.21.0


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

* [dts] [PATCH V1 5/7] conf/l3fwd_lpm_ipv4: change core/thread/queue definition
  2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
                   ` (3 preceding siblings ...)
  2020-06-17  8:36 ` [dts] [PATCH V1 4/7] conf/l3fwd_lpm_ipv4_rfc2544: change core/thread/queue yufengmx
@ 2020-06-17  8:36 ` yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 6/7] conf/l3fwd_lpm_ipv6: " yufengmx
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 10+ messages in thread
From: yufengmx @ 2020-06-17  8:36 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: yufengmx


change core/thread/queue definition.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 conf/l3fwd_lpm_ipv4.cfg | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/conf/l3fwd_lpm_ipv4.cfg b/conf/l3fwd_lpm_ipv4.cfg
index 5935c65..0c8d274 100644
--- a/conf/l3fwd_lpm_ipv4.cfg
+++ b/conf/l3fwd_lpm_ipv4.cfg
@@ -55,15 +55,15 @@ update_expected = True
 test_duration = 60
 accepted_tolerance = 1
 test_parameters = {
-    '1C/1T/1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '1C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '4C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
+    '1C/1T-1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '1C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '4C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
 expected_throughput = {
     'test_perf_throughput_ipv4_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -71,7 +71,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -79,7 +79,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -87,7 +87,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -95,7 +95,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
-- 
2.21.0


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

* [dts] [PATCH V1 6/7] conf/l3fwd_lpm_ipv6: change core/thread/queue definition
  2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
                   ` (4 preceding siblings ...)
  2020-06-17  8:36 ` [dts] [PATCH V1 5/7] conf/l3fwd_lpm_ipv4: change core/thread/queue definition yufengmx
@ 2020-06-17  8:36 ` " yufengmx
  2020-06-17  8:36 ` [dts] [PATCH V1 7/7] tests/l3fwd_base: " yufengmx
  2020-06-18  2:16 ` [dts] [PATCH V1 0/7] l3fwd: " Mo, YufengX
  7 siblings, 0 replies; 10+ messages in thread
From: yufengmx @ 2020-06-17  8:36 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: yufengmx


change core/thread/queue definition.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 conf/l3fwd_lpm_ipv6.cfg | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/conf/l3fwd_lpm_ipv6.cfg b/conf/l3fwd_lpm_ipv6.cfg
index 200ddcd..04d1aac 100644
--- a/conf/l3fwd_lpm_ipv6.cfg
+++ b/conf/l3fwd_lpm_ipv6.cfg
@@ -55,15 +55,15 @@ update_expected = True
 test_duration = 60
 accepted_tolerance = 1
 test_parameters = {
-    '1C/1T/1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '1C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '4C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
+    '1C/1T-1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '1C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '4C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
 expected_throughput = {
     'test_perf_throughput_ipv6_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -71,7 +71,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -79,7 +79,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -87,7 +87,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -95,7 +95,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
-- 
2.21.0


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

* [dts] [PATCH V1 7/7] tests/l3fwd_base: change core/thread/queue definition
  2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
                   ` (5 preceding siblings ...)
  2020-06-17  8:36 ` [dts] [PATCH V1 6/7] conf/l3fwd_lpm_ipv6: " yufengmx
@ 2020-06-17  8:36 ` " yufengmx
  2020-06-18  2:16 ` [dts] [PATCH V1 0/7] l3fwd: " Mo, YufengX
  7 siblings, 0 replies; 10+ messages in thread
From: yufengmx @ 2020-06-17  8:36 UTC (permalink / raw)
  To: dts, lijuan.tu; +Cc: yufengmx


change core/thread/queue definition.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/l3fwd_base.py | 63 ++++++++++++++++++++++++++++++++++++++++-----
 1 file changed, 56 insertions(+), 7 deletions(-)

diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index 2b4934c..e210201 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -33,6 +33,7 @@
 Layer-3 forwarding test script base class.
 """
 import os
+import re
 import time
 import traceback
 import texttable
@@ -172,6 +173,19 @@ class L3fwdBase(object):
         self.verify(total > 0, 'cpu socket should not be zero')
         return total
 
+    @property
+    def __core_thread_num(self):
+        cpu_topos = self.dut.get_all_cores()
+        core_index = cpu_topos[-1]['core']
+        thread_index = int(cpu_topos[-1]['thread'])
+        if not core_index:
+            msg = 'wrong core index'
+            raise VerifyFailure(msg)
+        if not thread_index:
+            msg = 'wrong thread index'
+            raise VerifyFailure(msg)
+        return thread_index//core_index
+
     def __pmd_con(self, cmd):
         if not self.__pmd_session:
             return
@@ -675,7 +689,8 @@ class L3fwdBase(object):
         # It is aimed to make sure packet generator detect link up status.
         wait_time = self.__l3fwd_wait_up if self.__l3fwd_wait_up else \
                     2 * len(self.__valports)
-        self.logger.debug(f"wait {wait_time} seconds for port link up")
+        self.logger.debug(
+            f"wait {wait_time} seconds for port link up")
         time.sleep(wait_time)
 
     def __l3fwd_restart_check(self, command_line):
@@ -950,17 +965,48 @@ class L3fwdBase(object):
         if except_content:
             raise VerifyFailure(except_content)
 
-    def __parse_port_config(self, config):
-        cores, total_threads, queue = config.split('/')
+    def __parse_port_config(self, config, cores_for_all):
+        '''
+        [n]C/[mT]-[i]Q
+        
+            n: how many physical core use for polling.
+            m: how many cpu thread use for polling, if Hyper-threading disabled
+                in BIOS, m equals n, if enabled, m is 2 times as n.
+            i: how many queues use per port, so total queues = i x nb_port
+        '''
+        # old format
+        pat = '(.*)\/(.*)\/(.*)'
+        result1 = re.findall(pat, config)
+        # new format
+        pat = '(.*)\/(.*)-(.*)'
+        result2 = re.findall(pat, config)
+        result = result1 if result1 else result2
+        if not result:
+            msg = f"{config} is wrong format, please check"
+            raise VerifyFailure(msg)
+        cores, total_threads, queue = result[0]
         _thread_num = int(int(total_threads[:-1]) // int(cores[:-1]))
+        _thread_num = self.__core_thread_num \
+            if _thread_num > self.__core_thread_num else _thread_num
         _thread = str(_thread_num) + 'T'
-        _cores = str(self.__core_offset + int(cores[:-1]) * len(self.__valports)) + 'C'
+        multiple = 1 if cores_for_all else len(self.__valports)
+        _cores = str(self.__core_offset + int(cores[:-1]) * multiple) + 'C'
+        if len(self.__valports) == 1 and int(total_threads[:-1]) > int(queue[:-1]) * len(self.__valports):
+            msg = f"Invalid configuration: {config}, please check"
+            self.logger.warning(msg)
+        if int(total_threads[:-1]) not in [self.__core_thread_num * int(cores[:-1]), int(cores[:-1])]:
+            support_num = f"1 or {self.__core_thread_num}" \
+                if self.__core_thread_num > 1 else "1"
+            msg = (
+                f"Invalid configuration: {config}, "
+                f"threads should be {support_num} times of cores")
+            self.logger.warning(msg)
         # only use one socket
         cores_config = '/'.join(['1S', _cores, _thread])
         queues_per_port = int(queue[:-1])
         return cores_config, _thread_num, queues_per_port
 
-    def __get_test_configs(self, options, ports, socket):
+    def __get_test_configs(self, options, ports, socket, cores_for_all):
         if not options:
             msg = "'test_parameters' not set in suite configuration file"
             raise VerifyFailure(msg)
@@ -969,7 +1015,7 @@ class L3fwdBase(object):
         for test_item, frame_sizes in sorted(options.items()):
             _frame_sizes = [int(frame_size) for frame_size in frame_sizes]
             frame_sizes_grp.extend([int(item) for item in _frame_sizes])
-            cores, thread_num, queues_per_port = self.__parse_port_config(test_item)
+            cores, thread_num, queues_per_port = self.__parse_port_config(test_item, cores_for_all)
             grp = [list(item)
                    for item in product(range(queues_per_port), range(ports))]
             corelist = self.dut.get_core_list(
@@ -1072,9 +1118,12 @@ class L3fwdBase(object):
         self.__traffic_stop_wait_time = \
             test_content.get('traffic_stop_wait_time', 0)
         # parse port config of l3fwd suite
+        cores_for_all = test_content.get('cores_for_all', False)
         port_configs, frame_sizes = self.__get_test_configs(
             test_content.get('test_parameters'),
-            len(self.__valports), self.__socket)
+            len(self.__valports),
+            self.__socket,
+            cores_for_all)
         test_content['port_configs'] = port_configs
         test_content['frame_sizes'] = frame_sizes
         self.logger.debug(pformat(test_content))
-- 
2.21.0


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

* Re: [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition
  2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
                   ` (6 preceding siblings ...)
  2020-06-17  8:36 ` [dts] [PATCH V1 7/7] tests/l3fwd_base: " yufengmx
@ 2020-06-18  2:16 ` " Mo, YufengX
  7 siblings, 0 replies; 10+ messages in thread
From: Mo, YufengX @ 2020-06-18  2:16 UTC (permalink / raw)
  To: dts, Tu, Lijuan

Tested by Mo, YufengX <yufengx.mo@intel.com>


> -----Original Message-----
> From: Mo, YufengX
> Sent: Wednesday, June 17, 2020 4:37 PM
> To: dts@dpdk.org; Tu, Lijuan <lijuan.tu@intel.com>
> Cc: Mo, YufengX <yufengx.mo@intel.com>
> Subject: [dts][PATCH V1 0/7] l3fwd: change core/thread/queue definition
> 
> change core/thread/queue definition.
> 
> 
> yufengmx (7):
>   conf/l3fwd: change core/thread/queue definition
>   conf/vf_l3fwd_kernelpf: change core/thread/queue definition
>   conf/l3fwd_em: change core/thread/queue definition
>   conf/l3fwd_lpm_ipv4_rfc2544: change core/thread/queue definition
>   conf/l3fwd_lpm_ipv4: change core/thread/queue definition
>   conf/l3fwd_lpm_ipv6: change core/thread/queue definition
>   tests/l3fwd_base: change core/thread/queue definition
> 
>  conf/l3fwd.cfg                  | 90 ++++++++++++++++-----------------
>  conf/l3fwd_em.cfg               | 30 +++++------
>  conf/l3fwd_lpm_ipv4.cfg         | 20 ++++----
>  conf/l3fwd_lpm_ipv4_rfc2544.cfg | 20 ++++----
>  conf/l3fwd_lpm_ipv6.cfg         | 20 ++++----
>  conf/vf_l3fwd_kernelpf.cfg      | 20 ++++----
>  tests/l3fwd_base.py             | 63 ++++++++++++++++++++---
>  7 files changed, 156 insertions(+), 107 deletions(-)
> 
> --
> 2.21.0


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

* [dts] [PATCH V1 6/7] conf/l3fwd_lpm_ipv6: change core/thread/queue definition
  2020-06-30  7:04 yufengmx
@ 2020-06-30  7:04 ` " yufengmx
  0 siblings, 0 replies; 10+ messages in thread
From: yufengmx @ 2020-06-30  7:04 UTC (permalink / raw)
  To: dts, lijuan.tu, yingyax.han; +Cc: yufengmx


change core/thread/queue definition.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 conf/l3fwd_lpm_ipv6.cfg | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/conf/l3fwd_lpm_ipv6.cfg b/conf/l3fwd_lpm_ipv6.cfg
index 200ddcd..04d1aac 100644
--- a/conf/l3fwd_lpm_ipv6.cfg
+++ b/conf/l3fwd_lpm_ipv6.cfg
@@ -55,15 +55,15 @@ update_expected = True
 test_duration = 60
 accepted_tolerance = 1
 test_parameters = {
-    '1C/1T/1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '1C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/2T/2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '2C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
-    '4C/4T/4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
+    '1C/1T-1Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '1C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/2T-2Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '2C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],
+    '4C/4T-4Q': ['64', '128', '256', '512', '1024', '1280', '1518',],}
 expected_throughput = {
     'test_perf_throughput_ipv6_lpm': {
         'niantic': {
-            '1C/1T/1Q': {
+            '1C/1T-1Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -71,7 +71,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '1C/2T/2Q': {
+            '1C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -79,7 +79,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/2T/2Q': {
+            '2C/2T-2Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -87,7 +87,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '2C/4T/4Q': {
+            '2C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
@@ -95,7 +95,7 @@ expected_throughput = {
                  '1024': '0.00',
                  '1280': '0.00',
                  '1518': '0.00', },
-            '4C/4T/4Q': {
+            '4C/4T-4Q': {
                  '64': '0.00',
                  '128': '0.00',
                  '256': '0.00',
-- 
2.21.0


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

end of thread, back to index

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17  8:36 [dts] [PATCH V1 0/7] l3fwd: change core/thread/queue definition yufengmx
2020-06-17  8:36 ` [dts] [PATCH V1 1/7] conf/l3fwd: " yufengmx
2020-06-17  8:36 ` [dts] [PATCH V1 2/7] conf/vf_l3fwd_kernelpf: " yufengmx
2020-06-17  8:36 ` [dts] [PATCH V1 3/7] conf/l3fwd_em: " yufengmx
2020-06-17  8:36 ` [dts] [PATCH V1 4/7] conf/l3fwd_lpm_ipv4_rfc2544: change core/thread/queue yufengmx
2020-06-17  8:36 ` [dts] [PATCH V1 5/7] conf/l3fwd_lpm_ipv4: change core/thread/queue definition yufengmx
2020-06-17  8:36 ` [dts] [PATCH V1 6/7] conf/l3fwd_lpm_ipv6: " yufengmx
2020-06-17  8:36 ` [dts] [PATCH V1 7/7] tests/l3fwd_base: " yufengmx
2020-06-18  2:16 ` [dts] [PATCH V1 0/7] l3fwd: " Mo, YufengX
2020-06-30  7:04 yufengmx
2020-06-30  7:04 ` [dts] [PATCH V1 6/7] conf/l3fwd_lpm_ipv6: " yufengmx

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox