[PATCH v2 1/5] build: add meson option to configure IOVA mode as VA

Stephen Hemminger stephen at networkplumber.org
Wed Sep 7 17:31:09 CEST 2022


On Wed, 7 Sep 2022 19:13:36 +0530
Shijith Thotton <sthotton at marvell.com> wrote:

> IOVA mode in DPDK is either PA or VA. The new build option iova_as_va
> configures the mode to VA at compile time and prevents setting it to PA
> at runtime. For now, all drivers which are not always enabled are
> disabled with this option. Supported driver can set the flag
> pmd_iova_as_va in its build file to enable build.
> 
> mbuf structure holds the physical (PA) and virtual address (VA) of a
> buffer. if IOVA mode is set to VA, PA is redundant as it is the same as
> VA. So PA field need not be updated and marked invalid if the build is
> configured to use only VA.
> 
> Signed-off-by: Shijith Thotton <sthotton at marvell.com>

NAK
This works ok for use cases where NFV is building local version
of DPDK, but meson options dont work for distro vendors.

That is why DPDK went away from having so many config options.


More information about the dev mailing list