test suite reviews and discussions
 help / color / mirror / Atom feed
From: Peng Yuan <yuan.peng@intel.com>
To: dts@dpdk.org
Cc: Peng Yuan <yuan.peng@intel.com>
Subject: [dts] [PATCH] test_plans: set server core in command-line
Date: Thu, 24 Jan 2019 11:40:13 +0800	[thread overview]
Message-ID: <1548301213-27113-1-git-send-email-yuan.peng@intel.com> (raw)

Set server core in command-line of flow_classify_softnic_test_plan.rst

Signed-off-by: Peng Yuan <yuan.peng@intel.com>

diff --git a/test_plans/flow_classify_softnic_test_plan.rst b/test_plans/flow_classify_softnic_test_plan.rst
index cb359df..34984e1 100644
--- a/test_plans/flow_classify_softnic_test_plan.rst
+++ b/test_plans/flow_classify_softnic_test_plan.rst
@@ -62,17 +62,9 @@ Change ./drivers/net/softnic/firmware.cli to meet the specific test environment.
 
 Start softnic with following command line::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25 -n 4 \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \
     --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --portmask=0x10
-    testpmd> start
-
-Start softnic with default hierarchy Qos with following command line::
-
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25 -n 4 \
-    --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --portmask=0x10
-    testpmd> set port tm hierarchy default 1
+    -- -i --portmask=0x10
     testpmd> start
 
 Test Case: ipv4 ACL table
@@ -85,9 +77,9 @@ Test Case: ipv4 ACL table
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_acl_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Validate a rule::
 
@@ -184,9 +176,9 @@ Test Case: ipv4-5tuple hash table
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_5tuple_hash_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table::
 
@@ -240,9 +232,9 @@ c) Match UDP SPORT::
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_addr_hash_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table.
 
@@ -347,9 +339,9 @@ Test Case: ipv6 ACL table
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_acl_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table::
 
@@ -406,9 +398,9 @@ b) Match ipv6 dst_addr::
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_addr_hash_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table.
 
@@ -489,9 +481,9 @@ Test Case: ipv6-5tuple hash table
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_5tuple_hash_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table::
 
@@ -548,9 +540,9 @@ b) Match ipv4 dst_addr::
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_addr_hash_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table.
 
@@ -590,9 +582,9 @@ b) Match ipv6 dst_addr::
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25  -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_5tuple_hash_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table.
 
@@ -640,9 +632,9 @@ c) Table c::
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_rss_firmware.cli,cpu_id=1,conn_port=8086'
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table.
 
@@ -761,9 +753,9 @@ c) Table c::
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 21-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_rss_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=4 --txq=4 --disable-rss --portmask=0x10
+    -- -i --rxq=4 --txq=4 --disable-rss --portmask=0x10
 
 3. Add rules to table,
 
@@ -883,9 +875,9 @@ Test Case: ipv4 ACL table jump action
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_acl_jump_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
+    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
 
 3. Add rules to table::
 
@@ -934,9 +926,9 @@ Test Case: ipv4 HASH table jump action
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_hash_jump_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
+    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
 
 3. Add rules to table::
 
@@ -987,9 +979,9 @@ Test Case: ipv4 ACL jump to HASH table
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_acl_hash_jump_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
+    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
 
 3. Add rules to table::
 
@@ -1042,9 +1034,9 @@ Test Case: ipv4 HASH jump to ACL table
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv4_hash_acl_jump_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
+    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
 
 3. Add rules to table::
 
@@ -1090,9 +1082,9 @@ Test Case: ipv6 ACL table jump action
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_acl_jump_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
+    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
 
 3. Add rules to table::
 
@@ -1144,9 +1136,9 @@ Test Case: ipv6 HASH table jump action
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_hash_jump_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
+    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
 
 3. Add rules to table::
 
@@ -1201,9 +1193,9 @@ Test Case: ipv6 ACL jump to HASH table
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_acl_hash_jump_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
+    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
 
 3. Add rules to table::
 
@@ -1255,9 +1247,9 @@ Test Case: ipv6 HASH jump to ACL table
 
 2. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 --vdev 'net_softnic0, \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev 'net_softnic0, \
     firmware=./drivers/net/softnic/flow_ipv6_hash_acl_jump_firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --rxq=2 --txq=2 --disable-rss --portmask=0x4
+    -- -i --rxq=2 --txq=2 --disable-rss --portmask=0x4
 
 3. Add rules to table::
 
-- 
2.5.0

             reply	other threads:[~2019-01-24  3:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-24  3:40 Peng Yuan [this message]
2019-01-25  4:58 ` Tu, Lijuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1548301213-27113-1-git-send-email-yuan.peng@intel.com \
    --to=yuan.peng@intel.com \
    --cc=dts@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).