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 E5FCCA00E6 for ; Wed, 10 Jul 2019 07:07:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A6A571B96E; Wed, 10 Jul 2019 07:07:37 +0200 (CEST) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 781501B95A for ; Wed, 10 Jul 2019 07:07:35 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jul 2019 22:07:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,473,1557212400"; d="scan'208";a="168199508" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga003.jf.intel.com with ESMTP; 09 Jul 2019 22:07:33 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 9 Jul 2019 22:07:33 -0700 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 9 Jul 2019 22:07:33 -0700 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.134]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.22]) with mapi id 14.03.0439.000; Wed, 10 Jul 2019 13:07:31 +0800 From: "Tu, Lijuan" To: "Wang, Yinan" , "dts@dpdk.org" CC: "Wang, Yinan" Thread-Topic: [dts] [PATCH v5] test_plans: add large packet payload check in vm2vm virtio_pmd test Thread-Index: AQHVNh+ZMp33Go5xSUqOLR6n3IfF8abDTmQA Date: Wed, 10 Jul 2019 05:07:30 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BADE7D8@SHSMSX101.ccr.corp.intel.com> References: <20190708232531.95057-1-yinan.wang@intel.com> In-Reply-To: <20190708232531.95057-1-yinan.wang@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZDQ3YzI5YTItN2Y3YS00YjQ5LWJmZGMtZWMzNzMwOTY0OGU0IiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiNEwzUnBYOXV0N3B3S2Y5c2RYQzZ4VEZTVzRVbU5PNzFQMFMrRnI2MCtNNTcweEJHMGp1Y0M4UmNsZUlNUnhRSiJ9 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 v5] test_plans: add large packet payload check in vm2vm virtio_pmd test 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 error, could you please fix it. Applying: test_plans: add large packet payload check in vm2vm virtio_pmd te= st error: patch failed: test_plans/vm2vm_virtio_pmd_test_plan.rst:34 error: test_plans/vm2vm_virtio_pmd_test_plan.rst: patch does not apply Patch failed at 0001 test_plans: add large packet payload check in vm2vm vi= rtio_pmd test > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Yinan > Sent: Tuesday, July 9, 2019 7:26 AM > To: dts@dpdk.org > Cc: Wang, Yinan > Subject: [dts] [PATCH v5] test_plans: add large packet payload check in > vm2vm virtio_pmd test >=20 > From: Wang Yinan >=20 > Signed-off-by: Wang Yinan > --- > test_plans/vm2vm_virtio_pmd_test_plan.rst | 33 ++++++++++++++--------- > 1 file changed, 21 insertions(+), 12 deletions(-) >=20 > diff --git a/test_plans/vm2vm_virtio_pmd_test_plan.rst > b/test_plans/vm2vm_virtio_pmd_test_plan.rst > index 5de1196..202f391 100644 > --- a/test_plans/vm2vm_virtio_pmd_test_plan.rst > +++ b/test_plans/vm2vm_virtio_pmd_test_plan.rst > @@ -34,10 +34,22 @@ > vm2vm vhost-user/virtio-pmd test plan > =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 >=20 > -Description > -=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > +This test plan includes vm2vm vhost-user/virtio-pmd(0.95) mergeable > +,normal and vector_rx path test, and vm2vm vhost/virtio-pmd(1.0) > mergeable, normal and vector_rx path test. Specially, two mergeable path > test check the payload of each packets are valid by using pdump. >=20 > -This test plan includes vm2vm vhost-user/virtio-pmd(0.95) > mergeable ,normal and vector_rx path test, and vm2vm vhost/virtio-pmd(1.0= ) > mergeable ,normal and vector_rx path test. Specially, two mergeable path > test check the payload of each packets are valid by using pdump. > +Prerequisites > +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > + > +Enable pcap lib in dpdk code and recompile:: > + > + --- a/config/common_base > + +++ b/config/common_base > + @@ -492,7 +492,7 @@ CONFIG_RTE_LIBRTE_PMD_NULL=3Dy > + # > + # Compile software PMD backed by PCAP files > + # > + -CONFIG_RTE_LIBRTE_PMD_PCAP=3Dn > + +CONFIG_RTE_LIBRTE_PMD_PCAP=3Dy >=20 > Test flow > =3D=3D=3D=3D=3D=3D=3D=3D=3D > @@ -413,8 +425,9 @@ Test Case 7: vm2vm virtio1.1 mergeable path test > with payload check > --vdev 'eth_vhost0,iface=3Dvhost-net,queues=3D1' --vdev > 'eth_vhost1,iface=3Dvhost-net1,queues=3D1' -- \ > -i --nb-cores=3D2 --txd=3D1024 --rxd=3D1024 > testpmd>set fwd mac > + testpmd>start >=20 > -2. Launch virtio-user by below command:: > +2. Launch virtio-user1 by below command:: >=20 > ./testpmd -n 4 -l 7-8 --socket-mem 1024,1024 \ > --no-pci --file-prefix=3Dvirtio1 \ > @@ -425,20 +438,16 @@ Test Case 7: vm2vm virtio1.1 mergeable path test > with payload check >=20 > 3. Attach pdump secondary process to primary process by same file-prefix= :: >=20 > - ./dpdk-pdump -v --file-prefix=3Dvirtio1 -- --pdump > 'device_id=3Dnet_virtio_user1,queue=3D*,rx-dev=3D/root/pdump-rx.pcap,mbuf= - > size=3D8000' > + ./x86_64-native-linuxapp-gcc/app/dpdk-pdump -v --file-prefix=3Dvirti= o1 -- -- > pdump 'device_id=3Dnet_virtio_user1,queue=3D*,rx-dev=3D/root/pdump- > rx.pcap,mbuf-size=3D8000' >=20 > -4. Launch virtio-user by below command:: > +4. Launch virtio-user0 and send 8k length packets:: >=20 > - ./x86_64-native-linuxapp-gcc/app/testpmd -n 4 -l 5-6 --socket-mem > 1024,1024 \ > + ./testpmd -n 4 -l 5-6 --socket-mem 1024,1024 \ > --no-pci --file-prefix=3Dvirtio \ > --vdev=3Dnet_virtio_user0,mac=3D00:01:02:03:04:05,path=3D./vhost- > net,queues=3D1,packed_vq=3D1,mrg_rxbuf=3D1,in_order=3D0 \ > -- -i --nb-cores=3D1 --txd=3D1024 --rxd=3D1024 --max-pkt-len=3D9600 > - testpmd>set fwd txonly > - > -5. Send large packets from net_virtio_user0:: > - > testpmd>set txpkts 2000,2000,2000,2000 > testpmd>set burst 1 > testpmd>start tx_first 10 >=20 > -6. Check payload is correct in each dumped packets. > \ No newline at end of file > +5. Check payload is correct in each dumped packets. > \ No newline at end of file > -- > 2.17.1