mk: change TLS model for DPAA machine
authorSachin Saxena <sachin.saxena@nxp.com>
Wed, 4 Jul 2018 09:54:45 +0000 (15:24 +0530)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 12 Jul 2018 10:45:15 +0000 (12:45 +0200)
Random corruptions observed on platfoms with using
the dpdk library in shared mode with VPP software (plugin).

using traditional TLS scheme resolved the issue.

Tested with VPP with DPDK as a plugin.

Signed-off-by: Sachin Saxena <sachin.saxena@nxp.com>
mk/machine/dpaa/rte.vars.mk
mk/machine/dpaa2/rte.vars.mk

index bddcb80..75df626 100644 (file)
@@ -32,3 +32,6 @@ MACHINE_CFLAGS += -march=armv8-a+crc
 ifdef CONFIG_RTE_ARCH_ARM_TUNE
 MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%)
 endif
+
+# To avoid TLS corruption issue.
+MACHINE_CFLAGS += -mtls-dialect=trad
index 2fd2eac..aaa03c4 100644 (file)
@@ -32,3 +32,6 @@ MACHINE_CFLAGS += -march=armv8-a+crc
 ifdef CONFIG_RTE_ARCH_ARM_TUNE
 MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%)
 endif
+
+# To avoid TLS corruption issue.
+MACHINE_CFLAGS += -mtls-dialect=trad