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>
This commit is contained in:
Sachin Saxena 2018-07-04 15:24:45 +05:30 committed by Thomas Monjalon
parent 7c872b9698
commit c40f3cfc66
2 changed files with 6 additions and 0 deletions

View 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

View 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