[dpdk-dev] [PATCH] config: disable iova phys for dpaa and 1588 for dpaa2

Nipun Gupta nipun.gupta at nxp.com
Fri Oct 4 13:11:06 CEST 2019


IOVA_PHYS flag is not required in the DPAA config, thus disable it.
Also, disable the 1588 timer support by default on DPAA2 platform
due to the performance impact

Signed-off-by: Nipun Gupta <nipun.gupta at nxp.com>
---

This patch is rebase over dpdk-next-net

config/defconfig_arm64-dpaa-linuxapp-gcc  | 2 ++
 config/defconfig_arm64-dpaa2-linuxapp-gcc | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/config/defconfig_arm64-dpaa-linuxapp-gcc b/config/defconfig_arm64-dpaa-linuxapp-gcc
index b408d4f48..c5599b4fa 100644
--- a/config/defconfig_arm64-dpaa-linuxapp-gcc
+++ b/config/defconfig_arm64-dpaa-linuxapp-gcc
@@ -24,3 +24,5 @@ CONFIG_RTE_LIBRTE_DPAA_HWDEBUG=n
 
 # NXP CAAM_JR driver
 CONFIG_RTE_LIBRTE_PMD_CAAM_JR_BE=y
+
+CONFIG_RTE_LIBRTE_DPAA2_USE_PHYS_IOVA=n
diff --git a/config/defconfig_arm64-dpaa2-linuxapp-gcc b/config/defconfig_arm64-dpaa2-linuxapp-gcc
index 5c7eddd5e..b2ccbec0c 100644
--- a/config/defconfig_arm64-dpaa2-linuxapp-gcc
+++ b/config/defconfig_arm64-dpaa2-linuxapp-gcc
@@ -15,8 +15,8 @@ CONFIG_RTE_CACHE_LINE_SIZE=64
 
 CONFIG_RTE_PKTMBUF_HEADROOM=128
 
-# Enable IEEE1588, Keep it disable by default
-CONFIG_RTE_LIBRTE_IEEE1588=y
+# Disable IEEE1588 by default
+CONFIG_RTE_LIBRTE_IEEE1588=n
 
 # Doesn't support NUMA
 CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
-- 
2.17.1



More information about the dev mailing list