eal/linux: select IOVA as VA mode for default case
authorJerin Jacob <jerinj@marvell.com>
Mon, 22 Jul 2019 12:56:53 +0000 (14:56 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Mon, 22 Jul 2019 15:47:27 +0000 (17:47 +0200)
commitbbe29a9bd7ab6feab9a52051c32092a94ee886eb
tree87860237e208ff00a01ad925c272e1e47b31a382
parentd622cad892a1fc715635d137d1598053fd0b8e3a
eal/linux: select IOVA as VA mode for default case

When bus layer reports the preferred mode as RTE_IOVA_DC then
select the RTE_IOVA_VA mode:

- All drivers work in RTE_IOVA_VA mode, irrespective of physical
address availability.

- By default, a mempool asks for IOVA-contiguous memory using
RTE_MEMZONE_IOVA_CONTIG. This is slow in RTE_IOVA_PA mode and it
may affect the application boot time.

Signed-off-by: Jerin Jacob <jerinj@marvell.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: David Marchand <david.marchand@redhat.com>
doc/guides/prog_guide/env_abstraction_layer.rst
lib/librte_eal/linux/eal/eal.c