From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id E9AA61BD66 for ; Sat, 22 Dec 2018 03:24:48 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Dec 2018 18:24:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,383,1539673200"; d="scan'208";a="129898784" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by fmsmga004.fm.intel.com with ESMTP; 21 Dec 2018 18:24:47 -0800 Received: from fmsmsx118.amr.corp.intel.com (10.18.116.18) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 21 Dec 2018 18:24:47 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx118.amr.corp.intel.com (10.18.116.18) with Microsoft SMTP Server (TLS) id 14.3.408.0; Fri, 21 Dec 2018 18:24:47 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.201]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.222]) with mapi id 14.03.0415.000; Sat, 22 Dec 2018 10:24:45 +0800 From: "Tu, Lijuan" To: "Wu, ChangqingX" , "dts@dpdk.org" CC: "Wu, ChangqingX" Thread-Topic: [dts] [PATCH V1] test_plans/add_new_feature_externel_memory Thread-Index: AQHUmA/2b2ejOkA2qUSp+WLHxYhwUqWKChJw Date: Sat, 22 Dec 2018 02:24:44 +0000 Message-ID: <8CE3E05A3F976642AAB0F4675D0AD20E0B9E5B0E@SHSMSX101.ccr.corp.intel.com> References: <1545274922-35545-1-git-send-email-changqingx.wu@intel.com> In-Reply-To: <1545274922-35545-1-git-send-email-changqingx.wu@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.400.15 dlp-reaction: no-action x-ctpclassification: CTP_NT x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYzUyZjU0ODQtYzdiOC00MjdlLTk4MTgtNTJkYzQ1OWU0NGZlIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoicmx5QkptQzRBMmxLUjJEdmVTdjYzcmprWTZlK1MrOFBlZHlSeVhvTXpiVG9NK0txdEFEdUVyT0EyeVZ2RVYySSJ9 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/add_new_feature_externel_memory 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: , X-List-Received-Date: Sat, 22 Dec 2018 02:24:49 -0000 This test plan don't meet RST format and git format. Some info while applying patch. Applying: test_plans/add_new_feature_externel_memory .git/rebase-apply/patch:17: trailing whitespace. Provide an abstraction for DPDK hugepage allocation, to have a "default" me= mory .git/rebase-apply/patch:18: trailing whitespace. allocator that will allocate hugepages, but also have custom allocator supp= ort for warning: 2 lines add whitespace errors. > -----Original Message----- > From: dts [mailto:dts-bounces@dpdk.org] On Behalf Of Wu,ChangqingX > Sent: Thursday, December 20, 2018 11:02 AM > To: dts@dpdk.org > Cc: Wu, ChangqingX > Subject: [dts] [PATCH V1] test_plans/add_new_feature_externel_memory >=20 > add_new_feature_externel_memory >=20 > Signed-off-by: Wu,ChangqingX > --- > test_plans/external_memory_test_plan.rst | 43 > ++++++++++++++++++++++++ > 1 file changed, 43 insertions(+) > create mode 100644 test_plans/external_memory_test_plan.rst >=20 > diff --git a/test_plans/external_memory_test_plan.rst > b/test_plans/external_memory_test_plan.rst > new file mode 100644 > index 0000000..23fec9b > --- /dev/null > +++ b/test_plans/external_memory_test_plan.rst > @@ -0,0 +1,43 @@ > +Ability to use external memory 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=3D=3D=3D=3D > + > +Description: > +------------ > +Provide an abstraction for DPDK hugepage allocation, to have a > +"default" memory allocator that will allocate hugepages, but also have > +custom allocator support for external memory. > + > +Test cases: > +----------- > + > +Test case 1: IGB_UIO and anonymous memory allocation > +steps: > +1. bind the ports to IGB_UIO driver; > +2. start testpmd with --mp-alloc=3Dxmem flag: > +# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- > +--mp-alloc=3Dxmem -i 3. start forward in testpmd; 4. start send traffic > +from outside to test the forward function; > + > +Test case 2: IGB_UIO and anonymous hugepage memory allocation > +steps: > +1. bind the ports to IGB_UIO driver; > +2. start testpmd with --mp-alloc=3Dxmemhuge flag: > +# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- > +--mp-alloc=3Dxmemhuge -i 3. start forward in testpmd; 4. start send > +traffic from outside to test the forward function; > + > +Test case 3: VFIO and anonymous memory allocation > +steps: > +1. bind the ports to vfio-pci driver; > +2. start testpmd with --mp-alloc=3Dxmem flag: > +# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- > +--mp-alloc=3Dxmem -i 3. start forward in testpmd; 4. start send traffic > +from outside to test the forward function; > + > +Test case 4: VFIO and anonymous hugepage memory allocation > +steps: > +1. bind the ports to vfio-pci driver; > +2. start testpmd with --mp-alloc=3Dxmemhuge flag: > +# ./x86_64-native-linuxapp-gcc/app/testpmd -c 0xf -n 4 -- > +--mp-alloc=3Dxmemhuge -i 3. start forward in testpmd; 4. start send > +traffic from outside to test the forward function; > -- > 2.17.2