[dpdk-dev] [PATCH v9 19/21] app/testpmd: add support for external memory

Iremonger, Bernard bernard.iremonger at intel.com
Tue Oct 2 16:05:37 CEST 2018


> -----Original Message-----
> From: Burakov, Anatoly
> Sent: Tuesday, October 2, 2018 2:35 PM
> To: dev at dpdk.org
> Cc: Lu, Wenzhuo <wenzhuo.lu at intel.com>; Wu, Jingjing
> <jingjing.wu at intel.com>; Iremonger, Bernard <bernard.iremonger at intel.com>;
> Mcnamara, John <john.mcnamara at intel.com>; Kovacevic, Marko
> <marko.kovacevic at intel.com>; laszlo.madarassy at ericsson.com;
> laszlo.vadkerti at ericsson.com; andras.kovacs at ericsson.com;
> winnie.tian at ericsson.com; daniel.andrasi at ericsson.com;
> janos.kobor at ericsson.com; geza.koblo at ericsson.com;
> srinath.mannam at broadcom.com; scott.branden at broadcom.com;
> ajit.khaparde at broadcom.com; Wiles, Keith <keith.wiles at intel.com>;
> Richardson, Bruce <bruce.richardson at intel.com>; thomas at monjalon.net;
> shreyansh.jain at nxp.com; shahafs at mellanox.com;
> arybchenko at solarflare.com; alejandro.lucero at netronome.com
> Subject: [PATCH v9 19/21] app/testpmd: add support for external memory
> 
> 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.
> 
> 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 allocated
> hugepage memory area). Old flag "--mp-anon" is kept for compatibility.
> 
> All external memory is allocated using the same external heap, but each will
> allocate and add a new memory area.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Suggested-by: Konstantin Ananyev <konstantin.ananyev at intel.com>

Acked-by: Bernard Iremonger <bernard.iremonger at intel.com>


More information about the dev mailing list