summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorSachin Saxena <sachin.saxena@nxp.com>2018-07-04 15:24:45 +0530
committerThomas Monjalon <thomas@monjalon.net>2018-07-12 12:45:15 +0200
commitc40f3cfc66072cabe4cdf8f6ddb20b40095a112b (patch)
tree22828e7d1e81bf55eca82513c1d3b9867ce7585f /mk
parent7c872b96983a23f67d6cea37b232717c346a83ff (diff)
downloaddpdk-next-eventdev-c40f3cfc66072cabe4cdf8f6ddb20b40095a112b.zip
dpdk-next-eventdev-c40f3cfc66072cabe4cdf8f6ddb20b40095a112b.tar.gz
dpdk-next-eventdev-c40f3cfc66072cabe4cdf8f6ddb20b40095a112b.tar.xz
mk: change TLS model for DPAA machine
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>
Diffstat (limited to 'mk')
-rw-r--r--mk/machine/dpaa/rte.vars.mk3
-rw-r--r--mk/machine/dpaa2/rte.vars.mk3
2 files changed, 6 insertions, 0 deletions
diff --git a/mk/machine/dpaa/rte.vars.mk b/mk/machine/dpaa/rte.vars.mk
index bddcb80..75df626 100644
--- a/mk/machine/dpaa/rte.vars.mk
+++ b/mk/machine/dpaa/rte.vars.mk
@@ -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
diff --git a/mk/machine/dpaa2/rte.vars.mk b/mk/machine/dpaa2/rte.vars.mk
index 2fd2eac..aaa03c4 100644
--- a/mk/machine/dpaa2/rte.vars.mk
+++ b/mk/machine/dpaa2/rte.vars.mk
@@ -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