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 AA8FCA046B for ; Wed, 29 May 2019 04:36:17 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A20A337A2; Wed, 29 May 2019 04:36:17 +0200 (CEST) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id B77A29E4 for ; Wed, 29 May 2019 04:36:15 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 28 May 2019 19:36:14 -0700 X-ExtLoop1: 1 Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga005.jf.intel.com with ESMTP; 28 May 2019 19:36:14 -0700 Received: from fmsmsx123.amr.corp.intel.com (10.18.125.38) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 28 May 2019 19:36:14 -0700 Received: from shsmsx107.ccr.corp.intel.com (10.239.4.96) by fmsmsx123.amr.corp.intel.com (10.18.125.38) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 28 May 2019 19:36:13 -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:36:12 +0800 From: "Tu, Lijuan" To: "Li, WenjieX A" , "dts@dpdk.org" CC: "Li, WenjieX A" Thread-Topic: [dts] [PATCH V1] test_plans: fix build warning Thread-Index: AQHVEIu4/kGs3ivtwEaGUoiRioFMjKaBbXKg Date: Wed, 29 May 2019 02:36:12 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0BA866BA@SHSMSX101.ccr.corp.intel.com> References: <1558522270-63690-1-git-send-email-wenjiex.a.li@intel.com> In-Reply-To: <1558522270-63690-1-git-send-email-wenjiex.a.li@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: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTEwNDM5NTUtNmRhZi00NGI5LWEyMGUtNTY0ZjdmMDk0NDBkIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiRmxUWWtFc0Q1bk1TcUNIRkRYQVwvNGxcL2Q4Y3prMzc5S2F4ZUN0bVR0b0NVTk9vZVJOQ1E4aXN4SXJlNlQrOHpHIn0= 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] test_plans: fix build warning 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 Wenjie Li > Sent: Wednesday, May 22, 2019 6:51 PM > To: dts@dpdk.org > Cc: Li, WenjieX A > Subject: [dts] [PATCH V1] test_plans: fix build warning >=20 > From: "Wenjie Li" >=20 > fix build warning of test plans >=20 > Signed-off-by: Wenjie Li > --- > test_plans/dpdk_gro_lib_test_plan.rst | 36 +++++++++++++------ > test_plans/dpdk_gso_lib_test_plan.rst | 16 ++++++--- > test_plans/macsec_for_ixgbe_test_plan.rst | 14 ++++---- > test_plans/vf_l3fwd_test_plan.rst | 4 +-- > .../vhost_dequeue_zero_copy_test_plan.rst | 4 ++- > 5 files changed, 50 insertions(+), 24 deletions(-) >=20 > diff --git a/test_plans/dpdk_gro_lib_test_plan.rst > b/test_plans/dpdk_gro_lib_test_plan.rst > index 4ca78ef..410ae68 100644 > --- a/test_plans/dpdk_gro_lib_test_plan.rst > +++ b/test_plans/dpdk_gro_lib_test_plan.rst > @@ -87,7 +87,9 @@ Modify the testpmd code as following:: > Test flow > =3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > -NIC2(In kernel) -> NIC1(DPDK) -> testpmd(csum fwd) -> Vhost -> Virtio-ne= t > +:: > + > + NIC2(In kernel) -> NIC1(DPDK) -> testpmd(csum fwd) -> Vhost -> > + Virtio-net >=20 > Test Case1: DPDK GRO lightmode test with tcp/ipv4 traffic > =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=3D=3D=3D=3D=3D > @@ -119,7 +121,9 @@ Test Case1: DPDK GRO lightmode test with tcp/ipv4 > traffic > testpmd>port start 1 > testpmd>start >=20 > -3. Set up vm with virto device and using kernel virtio-net driver:: > +3. Set up vm with virto device and using kernel virtio-net driver: > + > + :: >=20 > taskset -c 13 \ > qemu-system-x86_64 -name us-vhost-vm1 \ @@ -172,7 +176,9 @@ Test > Case2: DPDK GRO heavymode test with tcp/ipv4 traffic > testpmd>port start 1 > testpmd>start >=20 > -3. Set up vm with virto device and using kernel virtio-net driver:: > +3. Set up vm with virto device and using kernel virtio-net driver: > + > + :: >=20 > taskset -c 13 \ > qemu-system-x86_64 -name us-vhost-vm1 \ @@ -225,7 +231,9 @@ Test > Case3: DPDK GRO heavymode_flush4 test with tcp/ipv4 traffic > testpmd>port start 1 > testpmd>start >=20 > -3. Set up vm with virto device and using kernel virtio-net driver:: > +3. Set up vm with virto device and using kernel virtio-net driver: > + > + :: >=20 > taskset -c 13 \ > qemu-system-x86_64 -name us-vhost-vm1 \ @@ -253,11 +261,15 @@ > Test Case4: DPDK GRO test with vxlan traffic >=20 > Vxlan topology > -------------- > - VM Host > -50.1.1.2 50.1.1.1 > - | | > -1.1.2.3 1.1.2.4 > - |------------Testpmd------------| > + > +:: > + > + VM Host > + 50.1.1.2 50.1.1.1 > + | | > + 1.1.2.3 1.1.2.4 > + |------------Testpmd------------| > + >=20 > 1. Connect two nic port directly, put nic2 into another namesapce and > create Host VxLAN port:: >=20 > @@ -296,7 +308,9 @@ Vxlan topology > testpmd>port start 1 > testpmd>start >=20 > -3. Set up vm with virto device and using kernel virtio-net driver:: > +3. Set up vm with virto device and using kernel virtio-net driver: > + > + :: >=20 > taskset -c 13 \ > qemu-system-x86_64 -name us-vhost-vm1 \ @@ -321,4 +335,4 @@ Vxlan > topology 5. Start iperf test, run iperf server at vm side and iperf clie= nt at > host side, check throughput in log:: >=20 > Host side : ip netns exec t2 iperf -c 50.1.1.2 -i 2 -t 60 -f g -m > - VM side: iperf -s -f g > + VM side: iperf -s -f g > \ No newline at end of file > diff --git a/test_plans/dpdk_gso_lib_test_plan.rst > b/test_plans/dpdk_gso_lib_test_plan.rst > index e88cff7..8de5f56 100644 > --- a/test_plans/dpdk_gso_lib_test_plan.rst > +++ b/test_plans/dpdk_gso_lib_test_plan.rst > @@ -81,7 +81,9 @@ Modify the testpmd code as following:: > Test flow > =3D=3D=3D=3D=3D=3D=3D=3D=3D >=20 > -NIC2(In kernel) <- NIC1(DPDK) <- testpmd(csum fwd) <- Vhost <- Virtio-ne= t > +:: > + > + NIC2(In kernel) <- NIC1(DPDK) <- testpmd(csum fwd) <- Vhost <- > + Virtio-net >=20 > Test Case1: DPDK GSO test with tcp traffic > =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 > @@ -109,7 +111,9 @@ Test Case1: DPDK GSO test with tcp traffic > testpmd>port start 0 > testpmd>start >=20 > -3. Set up vm with virto device and using kernel virtio-net driver:: > +3. Set up vm with virto device and using kernel virtio-net driver: > + > + :: >=20 > taskset -c 13 \ > qemu-system-x86_64 -name us-vhost-vm1 \ @@ -169,7 +173,9 @@ Test > Case3: DPDK GSO test with vxlan traffic > testpmd>port start 0 > testpmd>start >=20 > -3. Set up vm with virto device and using kernel virtio-net driver:: > +3. Set up vm with virto device and using kernel virtio-net driver: > + > + :: >=20 > taskset -c 13 \ > qemu-system-x86_64 -name us-vhost-vm1 \ @@ -221,7 +227,9 @@ Test > Case4: DPDK GSO test with gre traffic > testpmd>port start 0 > testpmd>start >=20 > -3. Set up vm with virto device and using kernel virtio-net driver:: > +3. Set up vm with virto device and using kernel virtio-net driver: > + > + :: >=20 > taskset -c 13 \ > qemu-system-x86_64 -name us-vhost-vm1 \ diff --git > a/test_plans/macsec_for_ixgbe_test_plan.rst > b/test_plans/macsec_for_ixgbe_test_plan.rst > index 893e7a6..79b7d57 100644 > --- a/test_plans/macsec_for_ixgbe_test_plan.rst > +++ b/test_plans/macsec_for_ixgbe_test_plan.rst > @@ -73,12 +73,14 @@ Prerequisites > 1. Hardware: >=20 > * 1x Niantic NIC (2x 10G) > - port0: > - pci address: 07:00.0 > - mac address: 00:00:00:00:00:01 > - port1: > - pci address: 07:00.1 > - mac address: 00:00:00:00:00:02 > + :: > + > + port0: > + pci address: 07:00.0 > + mac address: 00:00:00:00:00:01 > + port1: > + pci address: 07:00.1 > + mac address: 00:00:00:00:00:02 >=20 > * 2x IXIA ports (10G) >=20 > diff --git a/test_plans/vf_l3fwd_test_plan.rst > b/test_plans/vf_l3fwd_test_plan.rst > index 97e3ab7..9260cb0 100644 > --- a/test_plans/vf_l3fwd_test_plan.rst > +++ b/test_plans/vf_l3fwd_test_plan.rst > @@ -89,7 +89,7 @@ Setup overview > Set up topology as above based on the NIC used. >=20 > Test Case 1: Measure performance with kernel PF & dpdk VF - > =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=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=3D= =3D=3D=3D=3D=3D=3D=3D=3D >=20 > 1, Bind PF ports to kernel driver, i40e or ixgbe, then create 1 VF from = each PF, > take XL710 for example:: > @@ -132,7 +132,7 @@ Fill out this table with results. >=20 >=20 > Test Case 2: Measure performance with dpdk PF & dpdk VF - > =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=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=3D=3D=3D=3D=3D >=20 > 1, Bind PF ports to igb_uio driver, then create 1 VF from each PF, take= XL710 > for example:: > diff --git a/test_plans/vhost_dequeue_zero_copy_test_plan.rst > b/test_plans/vhost_dequeue_zero_copy_test_plan.rst > index 3ec5e53..3c74c77 100644 > --- a/test_plans/vhost_dequeue_zero_copy_test_plan.rst > +++ b/test_plans/vhost_dequeue_zero_copy_test_plan.rst > @@ -323,7 +323,9 @@ Test topology: NIC2(In kernel) <- NIC1(DPDK) <- > testpmd(csum fwd) <- Vhost <- Vi > testpmd>port start 0 > testpmd>start >=20 > -3. Set up vm with virto device and using kernel virtio-net driver:: > +3. Set up vm with virto device and using kernel virtio-net driver: > + > + :: >=20 > taskset -c 13 \ > qemu-system-x86_64 -name us-vhost-vm1 \ > -- > 2.17.2