eal: force IOVA to a particular mode
authorEric Zhang <eric.zhang@windriver.com>
Wed, 3 Oct 2018 20:53:13 +0000 (16:53 -0400)
committerThomas Monjalon <thomas@monjalon.net>
Sun, 28 Oct 2018 23:01:05 +0000 (00:01 +0100)
commit075b182b54ce90e0a22810e67cf3204e22673bac
tree09d5ed1de0bbeff8aae236a1e64c53fd4586344b
parent783667c9f90ba3f242fb946c4aefcdaba26ca96a
eal: force IOVA to a particular mode

This patch uses EAL option "--iova-mode" to force the IOVA mode to a
particular value. There exists virtual devices that are not directly
attached to the PCI bus, and therefore the auto detection of the IOVA
mode based on probing the PCI bus and IOMMU configuration may not
report the required addressing mode. Using the EAL option permits the
mode to be explicitly configured in this scenario.

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>
Reviewed-by: Marko Kovacevic <marko.kovacevic@intel.com>
doc/guides/prog_guide/env_abstraction_layer.rst
doc/guides/testpmd_app_ug/run_app.rst
lib/librte_eal/bsdapp/eal/eal.c
lib/librte_eal/linuxapp/eal/eal.c