patches for DPDK stable branches
 help / color / mirror / Atom feed
* [PATCH] net/idpf: fix build option check
@ 2022-12-08  3:31 Jingjing Wu
  2022-12-08  7:46 ` Morten Brørup
  2022-12-09  3:15 ` Xing, Beilei
  0 siblings, 2 replies; 6+ messages in thread
From: Jingjing Wu @ 2022-12-08  3:31 UTC (permalink / raw)
  To: dev; +Cc: jingjing.wu, beilei.xing, stable

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@dpdk.org

Signed-off-by: Jingjing Wu <jingjing.wu@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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-02-19 10:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-08  3:31 [PATCH] net/idpf: fix build option check Jingjing Wu
2022-12-08  7:46 ` Morten Brørup
2022-12-09  3:15 ` Xing, Beilei
2022-12-13  1:52   ` Zhang, Qi Z
2023-02-17 22:34     ` Thomas Monjalon
2023-02-19 10:52       ` Thomas Monjalon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).