From: "Tu, Lijuan" <lijuan.tu@intel.com>
To: "Peng, Yuan" <yuan.peng@intel.com>, "dts@dpdk.org" <dts@dpdk.org>
Cc: "Peng, Yuan" <yuan.peng@intel.com>
Subject: Re: [dts] [PATCH] test_plans: add service core to softnic_test_plan.rst
Date: Wed, 7 Aug 2019 03:19:12 +0000 [thread overview]
Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFEBA9@SHSMSX101.ccr.corp.intel.com> (raw)
In-Reply-To: <1562991481-74117-1-git-send-email-yuan.peng@intel.com>
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
prev parent reply other threads:[~2019-08-07 3:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-13 4:18 Peng Yuan
2019-08-07 3:19 ` Tu, Lijuan [this message]
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=8CE3E05A3F976642AAB0F4675D0AD20E0BAFEBA9@SHSMSX101.ccr.corp.intel.com \
--to=lijuan.tu@intel.com \
--cc=dts@dpdk.org \
--cc=yuan.peng@intel.com \
/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).