[dpdk-dev] [PATCH v3 11/68] eal: enable reserving physically contiguous memzones
Stephen Hemminger
stephen at networkplumber.org
Wed Apr 4 01:41:28 CEST 2018
On Wed, 4 Apr 2018 00:21:23 +0100
Anatoly Burakov <anatoly.burakov at intel.com> wrote:
> This adds a new set of _contig API's to rte_memzone. For now,
> hugepage memory is always contiguous, but we need to prepare the
> drivers for the switch.
>
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Why not make fragmentation an optional flag to the memzone_reserved
rather than a new API. That way less drivers need to be changed.
#define RTE_MEMZONE_SPARSE 0x00100000 /* Allow zone to be non-contiguous */
More information about the dev
mailing list