mem: make base address hint OS specific
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 24 Oct 2019 12:36:49 +0000 (13:36 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Sat, 26 Oct 2019 16:03:24 +0000 (18:03 +0200)
commit6080796f65e4a1a510e2edde801a2d81fc42e95e
tree112c90ff54c5cef3728b3da73768c964a9ffed33
parent8108393d982b805ee4911c0d5cdfed53acec5d36
mem: make base address hint OS specific

Not all OS's follow Linux's memory layout, which may lead to
problems following the suggested common address hint absent
of a base-virtaddr flag. Make this address hint OS-specific.

Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_memory.c
lib/librte_eal/common/eal_private.h
lib/librte_eal/freebsd/eal/eal_memory.c
lib/librte_eal/linux/eal/eal_memory.c