[PATCH] net/idpf: fix build option check
Jingjing Wu
jingjing.wu at intel.com
Thu Dec 8 04:31:27 CET 2022
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: stable at dpdk.org
Signed-off-by: Jingjing Wu <jingjing.wu at 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
More information about the stable
mailing list