+14
−1
Loading
See previous patch for some background. rte_mempool uses the following formula for its ring allocation size: ``` count = rte_align32pow2(mp->size + 1); sz = sizeof(struct rte_ring) + count * sizeof(void *); sz = RTE_ALIGN(sz, RTE_CACHE_LINE_SIZE); ``` With count==262144, rte_mempool was trying to allocate (2MB + sizeof(struct rte_ring) physically contiguous memory. Change-Id: I69e8cdcbcaaaa8a053540588afa6eb2fd36c525b Signed-off-by:Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com> Reviewed-on: https://review.gerrithub.io/408926 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com>