DPDK patches and discussions
 help / color / mirror / Atom feed
From: Ruifeng Wang <Ruifeng.Wang@arm.com>
To: Nipun Gupta <nipun.gupta@amd.com>, "dev@dpdk.org" <dev@dpdk.org>,
	"thomas@monjalon.net" <thomas@monjalon.net>,
	"david.marchand@redhat.com" <david.marchand@redhat.com>
Cc: "ferruh.yigit@amd.com" <ferruh.yigit@amd.com>,
	"nikhil.agarwal@amd.com" <nikhil.agarwal@amd.com>,
	Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>,
	nd <nd@arm.com>
Subject: RE: [PATCH] config/arm: add AMD CDX
Date: Fri, 16 Jun 2023 08:36:02 +0000	[thread overview]
Message-ID: <AS8PR08MB70800F0C1B1DA4597F5984349E58A@AS8PR08MB7080.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20230615161846.7371-1-nipun.gupta@amd.com>

> -----Original Message-----
> From: Nipun Gupta <nipun.gupta@amd.com>
> Sent: Friday, June 16, 2023 12:19 AM
> To: dev@dpdk.org; thomas@monjalon.net; david.marchand@redhat.com
> Cc: ferruh.yigit@amd.com; nikhil.agarwal@amd.com; Ruifeng Wang <Ruifeng.Wang@arm.com>;
> Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>; Nipun Gupta <nipun.gupta@amd.com>
> Subject: [PATCH] config/arm: add AMD CDX
> 
> Add meson build configuration for AMD CDX platform.
> 
> Signed-off-by: Nipun Gupta <nipun.gupta@amd.com>
> ---
> This patch was earlier submitted as part of AMD CDX bus, but as it is platform support it
> has been separated out from the bus series. Previous patch link:
> http://patches.dpdk.org/project/dpdk/patch/20230421145406.12831-6-nipun.gupta@amd.com/
> 
>  config/arm/arm64_cdx_linux_gcc | 17 +++++++++++++++++
>  config/arm/meson.build         | 14 ++++++++++++++
>  2 files changed, 31 insertions(+)
>  create mode 100644 config/arm/arm64_cdx_linux_gcc
> 
> diff --git a/config/arm/arm64_cdx_linux_gcc b/config/arm/arm64_cdx_linux_gcc new file mode
> 100644 index 0000000000..8e6d619dae
> --- /dev/null
> +++ b/config/arm/arm64_cdx_linux_gcc
> @@ -0,0 +1,17 @@
> +[binaries]
> +c = ['ccache', 'aarch64-linux-gnu-gcc'] cpp = ['ccache',
> +'aarch64-linux-gnu-g++'] ar = 'aarch64-linux-gnu-ar'
> +as = 'aarch64-linux-gnu-as'
> +strip = 'aarch64-linux-gnu-strip'
> +pkgconfig = 'aarch64-linux-gnu-pkg-config'
> +pcap-config = ''
> +
> +[host_machine]
> +system = 'linux'
> +cpu_family = 'aarch64'
> +cpu = 'armv8-a'
> +endian = 'little'
> +
> +[properties]
> +platform = 'cdx'
> diff --git a/config/arm/meson.build b/config/arm/meson.build index ae2226988e..213b535a6f
> 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -305,6 +305,18 @@ soc_bluefield = {
>      'numa': false
>  }
> 
> +soc_cdx = {
> +    'description': 'AMD CDX',
> +    'implementer': '0x41',
> +    'part_number': '0xd42',
> +    'flags': [
> +        ['RTE_MACHINE', '"cdx"'],
> +        ['RTE_MAX_LCORE', 16],
> +        ['RTE_MAX_NUMA_NODES', 1]
> +    ],
> +    'numa': false
> +}
> +
>  soc_centriq2400 = {
>      'description': 'Qualcomm Centriq 2400',
>      'implementer': '0x51',
> @@ -463,6 +475,7 @@ generic_aarch32: Generic un-optimized build for armv8 aarch32
> execution mode.
>  armada:          Marvell ARMADA
>  bluefield:       NVIDIA BlueField
>  bluefield3:      NVIDIA BlueField-3
> +cdx:             AMD CDX
>  centriq2400:     Qualcomm Centriq 2400
>  cn9k:            Marvell OCTEON 9
>  cn10k:           Marvell OCTEON 10
> @@ -490,6 +503,7 @@ socs = {
>      'armada': soc_armada,
>      'bluefield': soc_bluefield,
>      'bluefield3': soc_bluefield3,
> +    'cdx': soc_cdx,
>      'centriq2400': soc_centriq2400,
>      'cn9k': soc_cn9k,
>      'cn10k' : soc_cn10k,
> --
> 2.17.1

Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>


  reply	other threads:[~2023-06-16  8:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-15 16:18 Nipun Gupta
2023-06-16  8:36 ` Ruifeng Wang [this message]
2023-06-27 21:44   ` 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=AS8PR08MB70800F0C1B1DA4597F5984349E58A@AS8PR08MB7080.eurprd08.prod.outlook.com \
    --to=ruifeng.wang@arm.com \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=david.marchand@redhat.com \
    --cc=dev@dpdk.org \
    --cc=ferruh.yigit@amd.com \
    --cc=nd@arm.com \
    --cc=nikhil.agarwal@amd.com \
    --cc=nipun.gupta@amd.com \
    --cc=thomas@monjalon.net \
    /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).