From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id C1A8AA046B for ; Wed, 29 May 2019 04:13:19 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B8C291B944; Wed, 29 May 2019 04:13:19 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id D8F814CA6 for ; Wed, 29 May 2019 04:13:17 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 19:13:16 -0700 X-ExtLoop1: 1 Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by orsmga007.jf.intel.com with ESMTP; 28 May 2019 19:13:16 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 28 May 2019 19:13:15 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.129]) by SHSMSX107.ccr.corp.intel.com ([169.254.9.7]) with mapi id 14.03.0415.000; Wed, 29 May 2019 10:13:14 +0800 From: "Tu, Lijuan" To: "Lin, Xueqin" , "dts@dpdk.org" CC: "Lin, Xueqin" Thread-Topic: [dts] [PATCH] test_plans/qinq_filter: remove useless tx offload and fix case description error Thread-Index: AQHVD7mBMnAHSVkqxkWKlqJ2b+DpzKaBaKtQ Date: Wed, 29 May 2019 02:13:13 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA864E4@SHSMSX101.ccr.corp.intel.com> References: <1558410128-62949-1-git-send-email-xueqin.lin@intel.com> In-Reply-To: <1558410128-62949-1-git-send-email-xueqin.lin@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.0.600.7 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiOWNmNTcxYjAtZGIyYS00YzBjLTg3MDctMTc0MzQ4MTU1ODllIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiOEwrZGtsTXNycVNpSHBuWXdza0VUR0dRT2tMeXBRMFp1YlZaZHhNdWwrU2Z5NnhNbkJIWjR0V1JxNmNEMFU3cyJ9 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/qinq_filter: remove useless tx offload and fix case description error 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 Xueqin Lin > Sent: Tuesday, May 21, 2019 11:42 AM > To: dts@dpdk.org > Cc: Lin, Xueqin > Subject: [dts] [PATCH] test_plans/qinq_filter: remove useless tx offload = and > fix case description error >=20 > From: "xueqin.lin" >=20 > Signed-off-by: Xueqin Lin >=20 > --- > test_plans/qinq_filter_test_plan.rst | 32 ++++++++++++++++--------------= -- > 1 file changed, 16 insertions(+), 16 deletions(-) >=20 > diff --git a/test_plans/qinq_filter_test_plan.rst > b/test_plans/qinq_filter_test_plan.rst > index b8d7c34..fa995f3 100644 > --- a/test_plans/qinq_filter_test_plan.rst > +++ b/test_plans/qinq_filter_test_plan.rst > @@ -56,7 +56,7 @@ Testpmd configuration - 4 RX/TX queues per port >=20 > #. set up testpmd with fortville NICs:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 -- -i --rxq=3D= 4 --txq=3D4 > --tx-offloads=3D0x8fff --disable-rss > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 -- -i --rxq=3D= 4 > + --txq=3D4 --disable-rss >=20 > #. enable qinq:: >=20 > @@ -89,7 +89,7 @@ Testpmd configuration - 4 RX/TX queues per port >=20 > #. set up testpmd with fortville NICs:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 -- -i --rxq=3D= 4 --txq=3D4 > --tx-offloads=3D0x8fff --disable-rss > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 -- -i --rxq=3D= 4 > + --txq=3D4 --disable-rss >=20 > #. enable qinq:: >=20 > @@ -118,7 +118,7 @@ tester Configuration #. send dual vlan packet with > scapy, verify packets can filter to queues:: >=20 >=20 > sendp([Ether(dst=3D"3C:FD:FE:A3:A0:AE")/Dot1Q(type=3D0x8100,vlan=3D1)/Dot= 1Q(ty > pe=3D0x8100,vlan=3D4093)/IP(src=3D"192.168.0.1", dst=3D"192.168.0.2")/Raw= ('x' * 20)], > iface=3D"eth17") > - > sendp([Ether(dst=3D"3C:FD:FE:A3:A0:AE")/Dot1Q(type=3D0x8100,vlan=3D2)/Dot= 1Q(ty > pe=3D0x8100,vlan=3D4093)/IP(src=3D"192.168.0.1", dst=3D"192.168.0.2")/Raw= ('x' * 20)], > iface=3D"eth17") > + > + sendp([Ether(dst=3D"3C:FD:FE:A3:A0:AE")/Dot1Q(type=3D0x8100,vlan=3D2)/D= ot1Q( > + type=3D0x8100,vlan=3D4094)/IP(src=3D"192.168.0.1", > + dst=3D"192.168.0.2")/Raw('x' * 20)], iface=3D"eth17") >=20 > Test Case 3: qinq packet filter to VF queues > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -126,13 +126,13 @@ Test Case 3: qinq packet filter to VF queues >=20 > linux cmdline: echo 2 > /sys/bus/pci/devices/0000:81:00.0/max_vfs >=20 > -#. bind igb_uio to vfs > +#. bind igb_uio to vfs:: >=20 > linux cmdline: ./usertools/dpdk-devbind.py -b igb_uio 81:02.0 81:02.= 1 >=20 > #. set up testpmd with fortville PF NICs:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 --socket- > mem=3D1024,1024 --file-prefix=3Dpf -w 81:00.0 -- -i --rxq=3D4 --txq=3D4 -= -tx- > offloads=3D0x8fff > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 > + --socket-mem=3D1024,1024 --file-prefix=3Dpf -w 81:00.0 -- -i --rxq=3D4 > + --txq=3D4 >=20 > #. enable qinq:: >=20 > @@ -158,7 +158,7 @@ Test Case 3: qinq packet filter to VF queues >=20 > #. set up testpmd with fortville VF0 NICs:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e0 -n 4 --socket- > mem=3D1024,1024 --file-prefix=3Dvf0 -w 81:02.0 -- -i --rxq=3D4 --txq=3D4 = --rss-udp > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e0 -n 4 > + --socket-mem=3D1024,1024 --file-prefix=3Dvf0 -w 81:02.0 -- -i --rxq=3D4 > + --txq=3D4 >=20 > #. PMD fwd only receive the packets:: >=20 > @@ -172,9 +172,9 @@ Test Case 3: qinq packet filter to VF queues >=20 > testpmd command: start >=20 > -#. set up testpmd with fortville VF0 NICs:: > +#. set up testpmd with fortville VF1 NICs:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7c0 -n 4 --socket- > mem=3D1024,1024 --file-prefix=3Dvf1 -w 81:02.0 -- -i --rxq=3D4 --txq=3D4 = --rss-udp > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7c0 -n 4 > + --socket-mem=3D1024,1024 --file-prefix=3Dvf1 -w 81:02.1 -- -i --rxq=3D4 > + --txq=3D4 >=20 > #. PMD fwd only receive the packets:: >=20 > @@ -193,7 +193,7 @@ tester Configuration >=20 > #. send dual vlan packet with scapy, verify packets can filter to the > corresponding PF and VF queues:: >=20 > - > sendp([Ether(dst=3D"3C:FD:FE:A3:A0:AE")/Dot1Q(type=3D0x8100,vlan=3D1)/Dot= 1Q(ty > pe=3D0x8100,vlan=3D4094)/IP(src=3D"192.168.0.1", dst=3D"192.168.0.2")/Raw= ('x' * 20)], > iface=3D"eth17") > + > + sendp([Ether(dst=3D"3C:FD:FE:A3:A0:AE")/Dot1Q(type=3D0x8100,vlan=3D1)/D= ot1Q( > + type=3D0x8100,vlan=3D4093)/IP(src=3D"192.168.0.1", > + dst=3D"192.168.0.2")/Raw('x' * 20)], iface=3D"eth17") >=20 > sendp([Ether(dst=3D"3C:FD:FE:A3:A0:AE")/Dot1Q(type=3D0x8100,vlan=3D2)/Dot= 1Q(ty > pe=3D0x8100,vlan=3D4094)/IP(src=3D"192.168.0.1", dst=3D"192.168.0.2")/Raw= ('x' * 20)], > iface=3D"eth17") >=20 > sendp([Ether(dst=3D"3C:FD:FE:A3:A0:AE")/Dot1Q(type=3D0x8100,vlan=3D3)/Dot= 1Q(ty > pe=3D0x8100,vlan=3D4094)/IP(src=3D"192.168.0.1", dst=3D"192.168.0.2")/Raw= ('x' * 20)], > iface=3D"eth17") >=20 > @@ -203,13 +203,13 @@ Test Case 4: qinq packet filter with different tpid >=20 > linux cmdline: echo 2 > /sys/bus/pci/devices/0000:81:00.0/max_vfs >=20 > -#. bind igb_uio to vfs > +#. bind igb_uio to vfs:: >=20 > linux cmdline: ./usertools/dpdk-devbind.py -b igb_uio 81:02.0 81:02.= 1 >=20 > #. set up testpmd with fortville PF NICs:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 --socket- > mem=3D1024,1024 --file-prefix=3Dpf -w 81:00.0 -- -i --rxq=3D4 --txq=3D4 -= -tx- > offloads=3D0x8fff > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x1f -n 4 > + --socket-mem=3D1024,1024 --file-prefix=3Dpf -w 81:00.0 -- -i --rxq=3D4 > + --txq=3D4 >=20 > #. enable qinq:: >=20 > @@ -239,7 +239,7 @@ Test Case 4: qinq packet filter with different tpid >=20 > #. set up testpmd with fortville VF0 NICs:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e0 -n 4 --socket- > mem=3D1024,1024 --file-prefix=3Dvf0 -w 81:02.0 -- -i --rxq=3D4 --txq=3D4 = --rss-udp > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x3e0 -n 4 > + --socket-mem=3D1024,1024 --file-prefix=3Dvf0 -w 81:02.0 -- -i --rxq=3D4 > + --txq=3D4 >=20 > #. PMD fwd only receive the packets:: >=20 > @@ -253,9 +253,9 @@ Test Case 4: qinq packet filter with different tpid >=20 > testpmd command: start >=20 > -#. set up testpmd with fortville VF0 NICs:: > +#. set up testpmd with fortville VF1 NICs:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7c0 -n 4 --socket- > mem=3D1024,1024 --file-prefix=3Dvf1 -w 81:02.0 -- -i --rxq=3D4 --txq=3D4 = --rss-udp > + ./x86_64-native-linuxapp-gcc/app/testpmd -c 0x7c0 -n 4 > + --socket-mem=3D1024,1024 --file-prefix=3Dvf1 -w 81:02.1 -- -i --rxq=3D4 > + --txq=3D4 >=20 > #. PMD fwd only receive the packets:: >=20 > @@ -272,8 +272,8 @@ Test Case 4: qinq packet filter with different tpid > tester Configuration > -------------------- >=20 > -#. send dual vlan packet with scapy, verify packets can filter to the > corresponding VF queues:: > -7. send qinq packet with traffic generator, verify packets can filter to= the > corresponding VF queues. > +#. send dual vlan packet with scapy, verify packets can filter to the > corresponding VF queues. > +#. send qinq packet with traffic generator, verify packets can filter to= the > corresponding VF queues. >=20 > Note > =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=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > -- > 2.7.5