DPDK-dev Archive on lore.kernel.org
 help / color / Atom feed
* [dpdk-dev] [PATCH] config: disable iova phys for dpaa and 1588 for dpaa2
@ 2019-10-04 11:11 Nipun Gupta
  2019-10-10 12:26 ` Hemant Agrawal
  0 siblings, 1 reply; 2+ messages in thread
From: Nipun Gupta @ 2019-10-04 11:11 UTC (permalink / raw)
  To: dev; +Cc: thomas, ferruh.yigit, hemant.agrawal, sachin.saxena, Nipun Gupta

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@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] config: disable iova phys for dpaa and 1588 for dpaa2
  2019-10-04 11:11 [dpdk-dev] [PATCH] config: disable iova phys for dpaa and 1588 for dpaa2 Nipun Gupta
@ 2019-10-10 12:26 ` Hemant Agrawal
  0 siblings, 0 replies; 2+ messages in thread
From: Hemant Agrawal @ 2019-10-10 12:26 UTC (permalink / raw)
  To: Nipun Gupta, dpdk-dev

Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-04 11:11 [dpdk-dev] [PATCH] config: disable iova phys for dpaa and 1588 for dpaa2 Nipun Gupta
2019-10-10 12:26 ` Hemant Agrawal

DPDK-dev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/dpdk-dev/0 dpdk-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dpdk-dev dpdk-dev/ https://lore.kernel.org/dpdk-dev \
		dev@dpdk.org dpdk-dev@archiver.kernel.org
	public-inbox-index dpdk-dev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.dpdk.dev


AGPL code for this site: git clone https://public-inbox.org/ public-inbox