test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH] test_plans: add service core to softnic_test_plan.rst
@ 2019-07-13  4:18 Peng Yuan
  2019-08-07  3:19 ` Tu, Lijuan
  0 siblings, 1 reply; 2+ messages in thread
From: Peng Yuan @ 2019-07-13  4:18 UTC (permalink / raw)
  To: dts; +Cc: Peng Yuan

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


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

* Re: [dts] [PATCH] test_plans: add service core to softnic_test_plan.rst
  2019-07-13  4:18 [dts] [PATCH] test_plans: add service core to softnic_test_plan.rst Peng Yuan
@ 2019-08-07  3:19 ` Tu, Lijuan
  0 siblings, 0 replies; 2+ messages in thread
From: Tu, Lijuan @ 2019-08-07  3:19 UTC (permalink / raw)
  To: Peng, Yuan, dts; +Cc: Peng, Yuan

Applied, thanks

> -----Original Message-----
> From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Peng Yuan
> Sent: Saturday, July 13, 2019 12:18 PM
> To: dts@dpdk.org
> Cc: Peng, Yuan <yuan.peng@intel.com>
> Subject: [dts] [PATCH] test_plans: add service core to softnic_test_plan.rst
> 
> 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_por
> t=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_por
> t=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_por
> t=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


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

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-13  4:18 [dts] [PATCH] test_plans: add service core to softnic_test_plan.rst Peng Yuan
2019-08-07  3:19 ` Tu, Lijuan

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