[dpdk-dev] mk: increase unsupported icc version for thunderx

Message ID 20170411165208.11953-1-ferruh.yigit@intel.com (mailing list archive)
State Accepted, archived
Headers

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/Intel-compilation success Compilation OK

Commit Message

Ferruh Yigit April 11, 2017, 4:52 p.m. UTC
  Increase unsupported ICC version for thunderx PMD to <= 16

Build error reported:
http://dpdk.org/ml/archives/dev/2017-April/063647.html

Fixes: 0b9ce550c4f6 ("net/thunderx: disable PMD for old compilers")

Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>
---
 mk/toolchain/icc/rte.toolchain-compat.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
  

Comments

Thomas Monjalon April 19, 2017, 10:10 p.m. UTC | #1
11/04/2017 18:52, Ferruh Yigit:
> Increase unsupported ICC version for thunderx PMD to <= 16
> 
> Build error reported:
> http://dpdk.org/ml/archives/dev/2017-April/063647.html
> 
> Fixes: 0b9ce550c4f6 ("net/thunderx: disable PMD for old compilers")
> 
> Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com>

Applied, thanks
  

Patch

diff --git a/mk/toolchain/icc/rte.toolchain-compat.mk b/mk/toolchain/icc/rte.toolchain-compat.mk
index 73770f7..88f1ac9 100644
--- a/mk/toolchain/icc/rte.toolchain-compat.mk
+++ b/mk/toolchain/icc/rte.toolchain-compat.mk
@@ -73,8 +73,8 @@  else
 		MACHINE_CFLAGS := $(patsubst -march=%,-xSSE3,$(MACHINE_CFLAGS))
 	endif
 
-	# Disable thunderx PMD for icc <= 14.0
-	ifeq ($(shell test $(ICC_MAJOR_VERSION) -le 14 && echo 1), 1)
+	# 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