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 41BADA04F0; Thu, 19 Dec 2019 08:48:49 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E76481BC25; Thu, 19 Dec 2019 08:48:48 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 231871F5 for ; Thu, 19 Dec 2019 08:48:46 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2019 23:48:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.69,330,1571727600"; d="scan'208";a="267115329" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by FMSMGA003.fm.intel.com with ESMTP; 18 Dec 2019 23:48:44 -0800 Received: from fmsmsx112.amr.corp.intel.com (10.18.116.6) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Dec 2019 23:48:44 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by FMSMSX112.amr.corp.intel.com (10.18.116.6) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 18 Dec 2019 23:48:43 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.19]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.222]) with mapi id 14.03.0439.000; Thu, 19 Dec 2019 15:48:42 +0800 From: "Tu, Lijuan" To: "Zhao, XinfengX" , "dts@dpdk.org" CC: "Zhao, XinfengX" Thread-Topic: [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify the test command for softnic Thread-Index: AQHVrBB3BEjQ0iRfD0qmo/L4Cq0ztKfBKUeQ Date: Thu, 19 Dec 2019 07:48:41 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BB89843@SHSMSX101.ccr.corp.intel.com> References: <1575591901-198081-1-git-send-email-xinfengx.zhao@intel.com> In-Reply-To: <1575591901-198081-1-git-send-email-xinfengx.zhao@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYTJiNDNlNDktZjhhMS00NzU4LWFmNTktM2MyMDBlMTFiMWViIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiWG1EMFBHM1RXQ25kRjJuQVhyQ2ZHK1FWZzRDVjlXXC9BN2xtUVk2bFU3N0xQMEFSdlZEVkhoNnFLVkgxaWJhSW0ifQ== 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 V1 1/2] test_plans/metering_and_policing: modify the test command for softnic 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 the series. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Xinfeng Zhao > Sent: Friday, December 6, 2019 8:25 AM > To: dts@dpdk.org > Cc: Zhao, XinfengX > Subject: [dts] [PATCH V1 1/2] test_plans/metering_and_policing: modify th= e > test command for softnic >=20 > Signed-off-by: Xinfeng Zhao > --- > .../metering_and_policing_test_plan.rst | 32 +++++++++---------- > 1 file changed, 16 insertions(+), 16 deletions(-) >=20 > diff --git a/test_plans/metering_and_policing_test_plan.rst > b/test_plans/metering_and_policing_test_plan.rst > index 9e41fad..95648f7 100644 > --- a/test_plans/metering_and_policing_test_plan.rst > +++ b/test_plans/metering_and_policing_test_plan.rst > @@ -145,8 +145,8 @@ Bind them to dpdk igb_uio driver, > :: >=20 > ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \ > - --vdev > 'net_softnic0,firmware=3D./drivers/net/softnic/firmware.cli,cpu_id=3D1,co= nn_po > rt=3D8086' \ > - -- -i --forward-mode=3Dsoftnic --portmask=3D0x10 > + --vdev 'net_softnic0,firmware=3D./drivers/net/softnic/firmware.cli' = \ > + -- -i --portmask=3D0x10 --disable-rss > testpmd> start >=20 > 3. start softnic with default hierarchy Qos with following command line,= @@ > -154,8 +154,8 @@ Bind them to dpdk igb_uio driver, > :: >=20 > ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 \ > - --vdev > 'net_softnic0,firmware=3D./drivers/net/softnic/firmware.cli,cpu_id=3D1,co= nn_po > rt=3D8086' \ > - -- -i --forward-mode=3Dsoftnic --portmask=3D0x10 > + --vdev 'net_softnic0,firmware=3D./drivers/net/softnic/firmware.cli' = \ > + -- -i --portmask=3D0x10 --disable-rss > testpmd> set port tm hierarchy default 1 > testpmd> start >=20 > @@ -173,7 +173,7 @@ Test Case 1: ipv4 ACL table RFC2698 GYR >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes >=20 > @@ -225,7 +225,7 @@ Test Case 2: ipv4 ACL table RFC2698 GYD >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > @@ -273,7 +273,7 @@ Test Case 3: ipv4 ACL table RFC2698 GDR >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > @@ -324,7 +324,7 @@ Test Case 4: ipv4 ACL table RFC2698 DYR >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > @@ -374,7 +374,7 @@ Test Case 5: ipv4 ACL table RFC2698 DDD >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > @@ -421,7 +421,7 @@ Test Case 6: ipv4 with same CBS and PBS GDR >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > @@ -461,7 +461,7 @@ Test Case 7: ipv4 HASH table RFC2698 >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, > :: > @@ -496,7 +496,7 @@ Test Case 8: ipv6 ACL table RFC2698 >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, > :: > @@ -548,7 +548,7 @@ Test Case 9: multiple meter and profile >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D4 - > -txq=3D4 --portmask=3D0x10 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -s 0x10 -n 4 > + --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D4 --txq=3D4 --portmask=3D0x10 --disable-= rss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > @@ -643,7 +643,7 @@ Test Case 10: ipv4 RFC2698 pre-colored red by DSCP > table >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > @@ -730,7 +730,7 @@ Test Case 11: ipv4 RFC2698 pre-colored yellow by > DSCP table >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > @@ -819,7 +819,7 @@ Test Case 12: ipv4 RFC2698 pre-colored green by > DSCP table >=20 > :: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_policin= g_ > firmware.cli,cpu_id=3D0,conn_port=3D8086' -- -i --forward-mode=3Dsoftnic = --rxq=3D2 - > -txq=3D2 --portmask=3D0x4 > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7 -s 0x4 -n 4 --vdev > + 'net_softnic0,firmware=3D/root/dpdk/drivers/net/softnic/meter_and_polic= i > + ng_firmware.cli' -- -i --rxq=3D2 --txq=3D2 --portmask=3D0x4 --disable-r= ss >=20 > Add rules to table, set CBS to 400 bytes, PBS to 500 bytes > :: > -- > 2.17.1