eal/freebsd: support option --base-virtaddr
authorAnatoly Burakov <anatoly.burakov@intel.com>
Thu, 24 Oct 2019 15:17:56 +0000 (16:17 +0100)
committerDavid Marchand <david.marchand@redhat.com>
Fri, 25 Oct 2019 09:17:29 +0000 (11:17 +0200)
commit8f29a60764515b18257180cd2276bcbb949ec0f7
treea13d7261296c0be425213b7ad195e459ddbb8528
parentc345c7d1acf43b4d30e1ecdd5a8cd3402234a6aa
eal/freebsd: support option --base-virtaddr

According to our docs, only Linuxapp supports base-virtaddr option.
That is, strictly speaking, not true because most of the things
that are attempting to respect base-virtaddr are in common files,
so FreeBSD already *mostly* supports this option in practice.

This commit fixes the remaining bits to explicitly support
base-virtaddr option, and moves the arg parsing from EAL to common
options parsing code. Documentation is also updated to reflect
that all platforms now support base-virtaddr.

Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
doc/guides/linux_gsg/eal_args.include.rst
doc/guides/linux_gsg/linux_eal_parameters.rst
doc/guides/rel_notes/release_19_11.rst
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/freebsd/eal/eal.c
lib/librte_eal/linux/eal/eal.c