> -----Original Message----- > From: Burakov, Anatoly > Sent: Tuesday, October 2, 2018 2:35 PM > To: dev@dpdk.org > Cc: Lu, Wenzhuo <wenzhuo...@intel.com>; Wu, Jingjing > <jingjing...@intel.com>; Iremonger, Bernard <bernard.iremon...@intel.com>; > Mcnamara, John <john.mcnam...@intel.com>; Kovacevic, Marko > <marko.kovace...@intel.com>; laszlo.madara...@ericsson.com; > laszlo.vadke...@ericsson.com; andras.kov...@ericsson.com; > winnie.t...@ericsson.com; daniel.andr...@ericsson.com; > janos.ko...@ericsson.com; geza.ko...@ericsson.com; > srinath.man...@broadcom.com; scott.bran...@broadcom.com; > ajit.khapa...@broadcom.com; Wiles, Keith <keith.wi...@intel.com>; > Richardson, Bruce <bruce.richard...@intel.com>; tho...@monjalon.net; > shreyansh.j...@nxp.com; shah...@mellanox.com; > arybche...@solarflare.com; alejandro.luc...@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.bura...@intel.com> > Suggested-by: Konstantin Ananyev <konstantin.anan...@intel.com>
Acked-by: Bernard Iremonger <bernard.iremon...@intel.com>