[dpdk-dev] [PATCH v3] eal: warn on legacy memory allocation requirement

Burakov, Anatoly anatoly.burakov at intel.com
Wed Jul 31 11:15:04 CEST 2019


On 30-Jul-19 6:21 PM, Thomas Monjalon wrote:
> When using --no-huge mode, dynamic allocation is not supported.
> Because of this limitation, the option --legacy-mem is implied
> and -m may be needed to specify the amount of memory to allocate.
> Otherwise the default amount MEMSIZE_IF_NO_HUGE_PAGE will be allocated.
> 
> The option --socket-mem can also be used with --legacy-mem
> when hugepages are supported.
> 
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
> ---
> v3:
> 	- replace "allocation" with "amount of reserved memory"
> 	- add --socket-mem
> 	- more rewording
> v2:
> 	- user-oriented message
> 	- trigger warning on any legacy mem option
> ---

Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>

-- 
Thanks,
Anatoly


More information about the dev mailing list