DPDK patches and discussions
 help / color / mirror / Atom feed
From: <pbhagavatula@marvell.com>
To: <jerinj@marvell.com>, Jan Viktorin <viktorin@rehivetech.com>,
	Ruifeng Wang <ruifeng.wang@arm.com>,
	Bruce Richardson <bruce.richardson@intel.com>
Cc: <dev@dpdk.org>, Pavan Nikhilesh <pbhagavatula@marvell.com>,
	"Nithin Dabilpuram" <ndabilpuram@marvell.com>
Subject: [dpdk-dev] [PATCH v2] config/arm: add support for Marvell CN10K
Date: Tue, 20 Apr 2021 02:09:47 +0530	[thread overview]
Message-ID: <20210419203948.1375-1-pbhagavatula@marvell.com> (raw)
In-Reply-To: <20210331172320.29130-1-ndabilpuram@marvell.com>

From: Pavan Nikhilesh <pbhagavatula@marvell.com>

Add config support to cross compile for Marvell CN10K SoC.
Marvell CN10K SoC is based on ARM Neoverse N2 cores.

Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
Acked-by: Jerin Jacob <jerinj@marvell.com>
---
 v2 Changes:
 - Rebase with ToT.

 config/arm/arm64_cn10k_linux_gcc | 16 ++++++++++++++++
 config/arm/meson.build           | 12 ++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 config/arm/arm64_cn10k_linux_gcc

diff --git a/config/arm/arm64_cn10k_linux_gcc b/config/arm/arm64_cn10k_linux_gcc
new file mode 100644
index 000000000..a3578c03a
--- /dev/null
+++ b/config/arm/arm64_cn10k_linux_gcc
@@ -0,0 +1,16 @@
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-cpp'
+ar = 'aarch64-linux-gnu-gcc-ar'
+strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+pcap-config = ''
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8.6-a'
+endian = 'little'
+
+[properties]
+platform = 'cn10k'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 86cdb9b53..3368cac85 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -316,10 +316,22 @@ soc_thunderxt88 = {
 	'part_number': '0xa1'
 }

+soc_cn10k = {
+	'description' : 'Marvell OCTEON 10',
+	'implementer' : '0x41',
+	'flags': [
+		['RTE_MAX_LCORE', 24],
+		['RTE_MAX_NUMA_NODES', 1]
+	],
+	'part_number': '0xd49',
+	'numa': false
+}
+
 socs = {
 	'generic': soc_generic,
 	'armada': soc_armada,
 	'bluefield': soc_bluefield,
+	'cn10k' : soc_cn10k,
 	'dpaa': soc_dpaa,
 	'emag': soc_emag,
 	'graviton2': soc_graviton2,
--
2.17.1


  parent reply	other threads:[~2021-04-19 20:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-31 17:23 [dpdk-dev] [PATCH] " Nithin Dabilpuram
2021-03-31 17:33 ` Jerin Jacob
2021-04-01  1:20   ` Honnappa Nagarahalli
2021-04-01 10:09     ` Nithin Dabilpuram
2021-04-01 10:14       ` Nithin Dabilpuram
2021-04-01 14:28         ` Honnappa Nagarahalli
2021-04-01 10:03 ` [dpdk-dev] [PATCH v2] " Nithin Dabilpuram
2021-04-19 20:39 ` pbhagavatula [this message]
2021-04-20 22:29   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210419203948.1375-1-pbhagavatula@marvell.com \
    --to=pbhagavatula@marvell.com \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=jerinj@marvell.com \
    --cc=ndabilpuram@marvell.com \
    --cc=ruifeng.wang@arm.com \
    --cc=viktorin@rehivetech.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).