[dpdk-dev] [PATCH] eal: set hugepgae_sz to 4KB when using --no-huge

2015-07-15 Thread Thomas Monjalon
2015-07-15 11:12, Sergio Gonzalez Monroy: > 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: b3

[dpdk-dev] [PATCH] eal: set hugepgae_sz to 4KB when using --no-huge

2015-07-15 Thread Sergio Gonzalez Monroy
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 reque