eal: add --iova-mode option
authorSantosh Shukla <santosh.shukla@caviumnetworks.com>
Wed, 3 Oct 2018 20:53:12 +0000 (16:53 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 28 Oct 2018 22:41:26 +0000 (23:41 +0100)
commit783667c9f90ba3f242fb946c4aefcdaba26ca96a
treea524c1bff15a619029f6a3ab582018142ab055eb
parent998c89f148ee31564ccde958056e54418c18f10c
eal: add --iova-mode option

In the case of user don't want to use bus iova scheme and want
to override.

For that, adding EAL option --iova-mode=<string> where valid input
string is 'pa' or 'va'.

Signed-off-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Signed-off-by: Eric Zhang <eric.zhang@windriver.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_options.c
lib/librte_eal/common/eal_internal_cfg.h
lib/librte_eal/common/eal_options.h