From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by dpdk.org (Postfix) with ESMTP id 6F74F1BD41 for ; Fri, 21 Dec 2018 03:05:43 +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 fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 20 Dec 2018 18:05:42 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,379,1539673200"; d="scan'208";a="129631436" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by fmsmga004.fm.intel.com with ESMTP; 20 Dec 2018 18:05:42 -0800 Received: from fmsmsx119.amr.corp.intel.com (10.18.124.207) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 20 Dec 2018 18:05:42 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX119.amr.corp.intel.com (10.18.124.207) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 20 Dec 2018 18:05:41 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.201]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.59]) with mapi id 14.03.0415.000; Fri, 21 Dec 2018 10:05:40 +0800 From: "Zhu, ShuaiX" To: "Wu, ChangqingX" , "dts@dpdk.org" CC: "Wu, ChangqingX" Thread-Topic: [dts] [PATCH V1] test_plans/add_new_feature_externel_memory Thread-Index: AQHUmA/2GlcFKFv9m0WYB/CkxE2WWKWIcxQg Date: Fri, 21 Dec 2018 02:05:39 +0000 Message-ID: <4DC48DF9BDA3E54A836D2D3C057DEC6F0B11573F@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: 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-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: Fri, 21 Dec 2018 02:05:44 -0000 Tested-by: Zhu, ShuaiX -----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 add_new_feature_externel_memory 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 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=20 +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=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=20 +"default" memory allocator that will allocate hugepages, but also have=20 +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 --=20 +--mp-alloc=3Dxmem -i 3. start forward in testpmd; 4. start send traffic=20 +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 --=20 +--mp-alloc=3Dxmemhuge -i 3. start forward in testpmd; 4. start send=20 +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 --=20 +--mp-alloc=3Dxmem -i 3. start forward in testpmd; 4. start send traffic=20 +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 --=20 +--mp-alloc=3Dxmemhuge -i 3. start forward in testpmd; 4. start send=20 +traffic from outside to test the forward function; -- 2.17.2