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: add service core to softnic_test_plan.rst
Date: Sat, 13 Jul 2019 12:18:01 +0800	[thread overview]
Message-ID: <1562991481-74117-1-git-send-email-yuan.peng@intel.com> (raw)

Add service core to softnic_test_plan.rst

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

diff --git a/test_plans/softnic_test_plan.rst b/test_plans/softnic_test_plan.rst
index 9b75b1c..59cfde6 100644
--- a/test_plans/softnic_test_plan.rst
+++ b/test_plans/softnic_test_plan.rst
@@ -58,24 +58,20 @@ Prerequisites
 
 3. Start softnic with following command line::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \
     --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
     -- -i --forward-mode=softnic --portmask=0x2
     testpmd> start
 
-   Or Start softnic with default hierarchy Qos with following command line::
+   Set the thread id consistent to the service core::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \
-    --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
-    -- -i --forward-mode=softnic --portmask=0x2
-    testpmd> set port tm hierarchy default 1
-    testpmd> start
+    thread 2 pipeline PIPELINE0 enable
 
 Test Case 1: softnic performance
 ================================
 1. Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \
     --vdev 'net_softnic0,firmware=./drivers/net/softnic/firmware.cli,cpu_id=1,conn_port=8086' \
     -- -i --forward-mode=softnic --portmask=0x2
     testpmd> start
@@ -95,10 +91,9 @@ Test Case 2: shaping for pipe
 
 2. Start softnic with the default hierarchy Qos::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \
     --vdev 'net_softnic0,firmware=./drivers/net/softnic/tm_firmware.cli,cpu_id=1,conn_port=8086' \
     -- -i --forward-mode=softnic --portmask=0x2
-    testpmd> set port tm hierarchy default 1
     testpmd> start
 
 3. Send per flow traffic with 100% line rate, verify output flow rate is 1/4096 subport rate.
@@ -111,7 +106,7 @@ Test Case 3: NAT
 
 (a). Start softnic::
 
-    ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \
+    ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 \
     --vdev 'net_softnic0,firmware=./drivers/net/softnic/nat_firmware.cli,cpu_id=1,conn_port=8086' \
     -- -i --forward-mode=softnic --portmask=0x2
     testpmd> start
-- 
2.7.4


             reply	other threads:[~2019-07-13  4:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-13  4:18 Peng Yuan [this message]
2019-08-07  3:19 ` 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=1562991481-74117-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).