[PATCH v3] eal: choose IOVA mode according to compilation flags

Thomas Monjalon thomas at monjalon.net
Mon Jun 12 19:41:48 CEST 2023


08/06/2023 17:45, Viacheslav Ovsiienko:
> The DPDK can be compiled to be run in IOVA VA mode with
> 'enable_iova_as_pa=false' meson option. If there is no
> explicit EAL --iova-mode parameter specified in the command
> line the rte_eal_init() tried to deduce VA or PA mode without
> taking into account the above mentioned compile time option,
> resulting into initialization failure.
> 
> Also, for FreeBSD and Windows EALs the IOVE mode checks were
> added or moved to be after the mode selection code block for
> final checking.
> 
> Signed-off-by: Viacheslav Ovsiienko <viacheslavo at nvidia.com>
> Reviewed-by: Morten Brørup <mb at smartsharesystems.com>

Applied, thanks.





More information about the dev mailing list