When enable_iova_as_pa option is disabled, idpf driver should avoid the building in its build file.
Fixes: 5bf87b45b2c8 (net/idpf: add AVX512 data path for single queue model) Cc: sta...@dpdk.org Signed-off-by: Jingjing Wu <jingjing...@intel.com> --- drivers/net/idpf/meson.build | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/net/idpf/meson.build b/drivers/net/idpf/meson.build index 998afd21fe..650dade0b9 100644 --- a/drivers/net/idpf/meson.build +++ b/drivers/net/idpf/meson.build @@ -7,6 +7,12 @@ if is_windows subdir_done() endif +if dpdk_conf.get('RTE_IOVA_AS_PA') == 0 + build = false + reason = 'driver does not support disabling IOVA as PA mode' + subdir_done() +endif + deps += ['common_idpf'] sources = files( -- 2.25.1