aboutsummaryrefslogtreecommitdiffstats
path: root/mk/toolchain/icc/rte.toolchain-compat.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/toolchain/icc/rte.toolchain-compat.mk')
-rw-r--r--mk/toolchain/icc/rte.toolchain-compat.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/toolchain/icc/rte.toolchain-compat.mk b/mk/toolchain/icc/rte.toolchain-compat.mk
index 41344668..88f1ac92 100644
--- a/mk/toolchain/icc/rte.toolchain-compat.mk
+++ b/mk/toolchain/icc/rte.toolchain-compat.mk
@@ -72,4 +72,9 @@ else
# remove march options
MACHINE_CFLAGS := $(patsubst -march=%,-xSSE3,$(MACHINE_CFLAGS))
endif
+
+ # Disable thunderx PMD for icc <= 16.0
+ ifeq ($(shell test $(ICC_MAJOR_VERSION) -le 16 && echo 1), 1)
+ CONFIG_RTE_LIBRTE_THUNDERX_NICVF_PMD=d
+ endif
endif