Imported Upstream version 17.05
[deb_dpdk.git] / mk / toolchain / icc / rte.toolchain-compat.mk
index 4134466..88f1ac9 100644 (file)
@@ -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