Sergio Gonzalez Monroy fc060aa614 mem: fix initialization with --no-huge option
After code rework from bellow commit, logic expects hugepage_sz field to
always be set (ie. not zero value).
When using --no-huge, this field was left unset defaulting to zero.

Set hugepage_sz to RTE_PGSIZE_4K when using --no-huge.

Fixes: b3dfffd962ecd ("mem: allow multiple page sizes to be requested")

Signed-off-by: Sergio Gonzalez Monroy <sergio.gonzalez.monroy@intel.com>
2015-07-15 14:25:37 +02:00
..
2015-03-10 11:47:46 +01:00
2014-06-11 00:29:34 +02:00
2015-03-10 12:06:08 +01:00
2015-06-03 18:01:53 +02:00
2015-03-10 11:47:46 +01:00
2015-07-14 10:43:39 +02:00
2015-03-10 11:47:46 +01:00
2015-03-10 11:47:46 +01:00
2015-03-10 12:15:14 +01:00