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

2023-04-13 Thread Slava Ovsiienko
> -Original Message- > From: Morten Brørup > Sent: среда, 12 апреля 2023 г. 22:12 > To: Slava Ovsiienko ; dev@dpdk.org > Cc: NBU-Contact-Thomas Monjalon (EXTERNAL) ; > david.march...@redhat.com > Subject: RE: [PATCH] eal: choose IOVA mode according to compilat

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

2023-04-12 Thread Morten Brørup
> From: Viacheslav Ovsiienko [mailto:viachesl...@nvidia.com] > Sent: Wednesday, 12 April 2023 19.20 > > 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_

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

2023-04-12 Thread 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, resu