From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id B5E78A00E6 for ; Wed, 7 Aug 2019 05:19:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7C1402E8F; Wed, 7 Aug 2019 05:19:17 +0200 (CEST) Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id C72722C16 for ; Wed, 7 Aug 2019 05:19:15 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Aug 2019 20:19:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.64,356,1559545200"; d="scan'208";a="176061412" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga007.fm.intel.com with ESMTP; 06 Aug 2019 20:19:14 -0700 Received: from fmsmsx163.amr.corp.intel.com (10.18.125.72) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 20:19:14 -0700 Received: from shsmsx106.ccr.corp.intel.com (10.239.4.159) by fmsmsx163.amr.corp.intel.com (10.18.125.72) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 6 Aug 2019 20:19:14 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.80]) by SHSMSX106.ccr.corp.intel.com ([169.254.10.204]) with mapi id 14.03.0439.000; Wed, 7 Aug 2019 11:19:12 +0800 From: "Tu, Lijuan" To: "Peng, Yuan" , "dts@dpdk.org" CC: "Peng, Yuan" Thread-Topic: [dts] [PATCH] test_plans: add service core to softnic_test_plan.rst Thread-Index: AQHVOTFagCmUwINmCkKUTHgTZTd4uqbvK1WQ Date: Wed, 7 Aug 2019 03:19:12 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BAFEBA9@SHSMSX101.ccr.corp.intel.com> References: <1562991481-74117-1-git-send-email-yuan.peng@intel.com> In-Reply-To: <1562991481-74117-1-git-send-email-yuan.peng@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiMzI3ZGI5ZDQtNzZlZS00ZDE2LWFjZmItOTU1YjJjMjliNjQwIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoianBEVVJoQUNpWmZLYjFPc2hjUDJBYkR1WlhPcktLVzRPbXlXTktlc2d1bll0RWZoQTlpOWNSVk9tZVcyM2tReCJ9 x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dts] [PATCH] test_plans: add service core to softnic_test_plan.rst X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" 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 > Subject: [dts] [PATCH] test_plans: add service core to softnic_test_plan.= rst >=20 > Add service core to softnic_test_plan.rst >=20 > Signed-off-by: Peng Yuan >=20 > 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 >=20 > 3. Start softnic with following command line:: >=20 > - ./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=3D./drivers/net/softnic/firmware.cli,cpu_id=3D1,co= nn_por > t=3D8086' \ > -- -i --forward-mode=3Dsoftnic --portmask=3D0x2 > testpmd> start >=20 > - Or Start softnic with default hierarchy Qos with following command li= ne:: > + Set the thread id consistent to the service core:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -l 23-25 -n 4 \ > - --vdev > 'net_softnic0,firmware=3D./drivers/net/softnic/firmware.cli,cpu_id=3D1,co= nn_por > t=3D8086' \ > - -- -i --forward-mode=3Dsoftnic --portmask=3D0x2 > - testpmd> set port tm hierarchy default 1 > - testpmd> start > + thread 2 pipeline PIPELINE0 enable >=20 > Test Case 1: softnic performance > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D > 1. Start softnic:: >=20 > - ./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=3D./drivers/net/softnic/firmware.cli,cpu_id=3D1,co= nn_por > t=3D8086' \ > -- -i --forward-mode=3Dsoftnic --portmask=3D0x2 > testpmd> start > @@ -95,10 +91,9 @@ Test Case 2: shaping for pipe >=20 > 2. Start softnic with the default hierarchy Qos:: >=20 > - ./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=3D./drivers/net/softnic/tm_firmware.cli,cpu_id=3D1= ,conn_ > port=3D8086' \ > -- -i --forward-mode=3Dsoftnic --portmask=3D0x2 > - testpmd> set port tm hierarchy default 1 > testpmd> start >=20 > 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 >=20 > (a). Start softnic:: >=20 > - ./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=3D./drivers/net/softnic/nat_firmware.cli,cpu_id=3D= 1,conn > _port=3D8086' \ > -- -i --forward-mode=3Dsoftnic --portmask=3D0x2 > testpmd> start > -- > 2.7.4