mem: add bounded reserve function
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 11 Feb 2014 16:24:25 +0000 (16:24 +0000)
committerDavid Marchand <david.marchand@6wind.com>
Tue, 25 Feb 2014 20:29:19 +0000 (21:29 +0100)
commit013615a784c18582d32e2a702049783c68801f6c
tree251e2af04dcfd1cd55fd1be7e41118b4a9a397d6
parente0317809cd26ad505efe6e200be872d97bb05a43
mem: add bounded reserve function

For certain functionality, e.g. Xen Dom0 support, it is required that
we can guarantee that memzones for descriptor rings won't cross 2M
boundaries. So add new memzone reserve function where we can pass in a
boundary condition parameter.

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
app/test/test_memzone.c
lib/librte_eal/common/eal_common_memzone.c
lib/librte_eal/common/include/rte_memzone.h