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 30F735F2F for ; Tue, 2 Oct 2018 16:05:47 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga105.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Oct 2018 07:05:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.54,332,1534834800"; d="scan'208";a="85141078" Received: from irsmsx153.ger.corp.intel.com ([163.33.192.75]) by FMSMGA003.fm.intel.com with ESMTP; 02 Oct 2018 07:05:38 -0700 Received: from irsmsx107.ger.corp.intel.com ([169.254.10.56]) by IRSMSX153.ger.corp.intel.com ([169.254.9.121]) with mapi id 14.03.0319.002; Tue, 2 Oct 2018 15:05:37 +0100 From: "Iremonger, Bernard" To: "Burakov, Anatoly" , "dev@dpdk.org" CC: "Lu, Wenzhuo" , "Wu, Jingjing" , "Mcnamara, John" , "Kovacevic, Marko" , "laszlo.madarassy@ericsson.com" , "laszlo.vadkerti@ericsson.com" , "andras.kovacs@ericsson.com" , "winnie.tian@ericsson.com" , "daniel.andrasi@ericsson.com" , "janos.kobor@ericsson.com" , "geza.koblo@ericsson.com" , "srinath.mannam@broadcom.com" , "scott.branden@broadcom.com" , "ajit.khaparde@broadcom.com" , "Wiles, Keith" , "Richardson, Bruce" , "thomas@monjalon.net" , "shreyansh.jain@nxp.com" , "shahafs@mellanox.com" , "arybchenko@solarflare.com" , "alejandro.lucero@netronome.com" Thread-Topic: [PATCH v9 19/21] app/testpmd: add support for external memory Thread-Index: AQHUWlTUkZfE99FNekesl7iLVGZdUqUL/P8Q Date: Tue, 2 Oct 2018 14:05:37 +0000 Message-ID: <8CEF83825BEC744B83065625E567D7C260D0BA76@IRSMSX107.ger.corp.intel.com> References: <26140c6b05fab32ce44da040de23bf308598923c.1538486972.git.anatoly.burakov@intel.com> In-Reply-To: <26140c6b05fab32ce44da040de23bf308598923c.1538486972.git.anatoly.burakov@intel.com> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZTAyYTEyOTEtY2QxZS00YzI2LTg4MzUtNDgxNDI0OTMzMzkyIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiYnhBa2hhZWxjMXk0ZFJHb2xUS1F1eFVUMm5FXC9ZTnJXSTZwVzBBb3crclkwZyt2RWtQVkdCdEdnTnN5TmxMZVoifQ== x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.0.400.15 dlp-reaction: no-action x-originating-ip: [163.33.239.180] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v9 19/21] app/testpmd: add support for external memory X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2018 14:05:48 -0000 > -----Original Message----- > From: Burakov, Anatoly > Sent: Tuesday, October 2, 2018 2:35 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo ; Wu, Jingjing > ; Iremonger, Bernard = ; > Mcnamara, John ; Kovacevic, Marko > ; laszlo.madarassy@ericsson.com; > laszlo.vadkerti@ericsson.com; andras.kovacs@ericsson.com; > winnie.tian@ericsson.com; daniel.andrasi@ericsson.com; > janos.kobor@ericsson.com; geza.koblo@ericsson.com; > srinath.mannam@broadcom.com; scott.branden@broadcom.com; > ajit.khaparde@broadcom.com; Wiles, Keith ; > Richardson, Bruce ; thomas@monjalon.net; > shreyansh.jain@nxp.com; shahafs@mellanox.com; > arybchenko@solarflare.com; alejandro.lucero@netronome.com > Subject: [PATCH v9 19/21] app/testpmd: add support for external memory >=20 > Currently, mempools can only be allocated either using native DPDK memory= , or > anonymous memory. This patch will add two new methods to allocate mempool > using external memory (regular or hugepage memory), and add documentation > about it to testpmd user guide. >=20 > It adds a new flag "--mp-alloc", with four possible values: > native (use regular DPDK allocator), anon (use anonymous mempool), xmem > (use externally allocated memory area), and xmemhuge (use externally allo= cated > hugepage memory area). Old flag "--mp-anon" is kept for compatibility. >=20 > All external memory is allocated using the same external heap, but each w= ill > allocate and add a new memory area. >=20 > Signed-off-by: Anatoly Burakov > Suggested-by: Konstantin Ananyev Acked-by: Bernard Iremonger