DPDK patches and discussions
 help / color / mirror / Atom feed
* [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform
@ 2024-06-28  3:22 Yutang Jiang
  2024-06-28  3:30 ` Yutang Jiang
  2024-07-01  9:27 ` Ruifeng Wang
  0 siblings, 2 replies; 4+ messages in thread
From: Yutang Jiang @ 2024-06-28  3:22 UTC (permalink / raw)
  To: dev
  Cc: patches, yutang.jiang, jiangyutang, ruifeng.wang, nd,
	juraj.linkes, wathsala.vithanage, thomas, honnappa.nagarahalli

The AmpereOneAC04 is efficient Cloud Native CPU:
  Up to 192 Cores
  2MB Private L2 Cache per Core
  8 channel DDR5
  128 lanes PCIe Gen5

Signed-off-by: Yutang Jiang <jiangyutang@os.amperecomputing.com>
---
 config/arm/arm64_ampereoneac04_linux_gcc | 17 +++++++++++++++++
 config/arm/meson.build                   | 19 +++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100644 config/arm/arm64_ampereoneac04_linux_gcc

diff --git a/config/arm/arm64_ampereoneac04_linux_gcc b/config/arm/arm64_ampereoneac04_linux_gcc
new file mode 100644
index 0000000000..a8dfd6551f
--- /dev/null
+++ b/config/arm/arm64_ampereoneac04_linux_gcc
@@ -0,0 +1,17 @@
+[binaries]
+c = ['ccache', 'aarch64-linux-gnu-gcc']
+cpp = ['ccache', 'aarch64-linux-gnu-g++']
+ar = 'aarch64-linux-gnu-gcc-ar'
+strip = 'aarch64-linux-gnu-strip'
+pkgconfig = 'aarch64-linux-gnu-pkg-config'
+pkg-config = 'aarch64-linux-gnu-pkg-config'
+pcap-config = ''
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8.6-a'
+endian = 'little'
+
+[properties]
+platform = 'ampereoneac04'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index a45aa9e466..012935d5d7 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -210,6 +210,16 @@ implementer_ampere = {
                 ['RTE_MAX_LCORE', 320],
                 ['RTE_MAX_NUMA_NODES', 8]
             ]
+        },
+        '0xac4': {
+            'march': 'armv8.6-a',
+            'march_features': ['crc', 'crypto'],
+            'mcpu': 'ampere1a',
+            'flags': [
+                ['RTE_MACHINE', '"AmpereOneAC04"'],
+                ['RTE_MAX_LCORE', 384],
+                ['RTE_MAX_NUMA_NODES', 8]
+            ]
         }
     }
 }
@@ -371,6 +381,13 @@ soc_ampereone = {
     'numa': true
 }
 
+soc_ampereoneac04 = {
+    'description': 'Ampere AmpereOne AC04',
+    'implementer': '0xc0',
+    'part_number': '0xac4',
+    'numa': true
+}
+
 soc_armada = {
     'description': 'Marvell ARMADA',
     'implementer': '0x41',
@@ -621,6 +638,7 @@ generic:         Generic un-optimized build for armv8 aarch64 execution mode.
 generic_aarch32: Generic un-optimized build for armv8 aarch32 execution mode.
 altra:           Ampere Altra/AltraMax
 ampereone:       Ampere AmpereOne
+ampereoneac04:   Ampere AmpereOneAC04
 armada:          Marvell ARMADA
 bluefield:       NVIDIA BlueField
 bluefield3:      NVIDIA BlueField-3
@@ -658,6 +676,7 @@ socs = {
     'generic_aarch32': soc_generic_aarch32,
     'altra': soc_altra,
     'ampereone': soc_ampereone,
+    'ampereoneac04': soc_ampereoneac04,
     'armada': soc_armada,
     'bluefield': soc_bluefield,
     'bluefield3': soc_bluefield3,
-- 
2.43.0


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

* RE: [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform
  2024-06-28  3:22 [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform Yutang Jiang
@ 2024-06-28  3:30 ` Yutang Jiang
  2024-07-01  9:27 ` Ruifeng Wang
  1 sibling, 0 replies; 4+ messages in thread
From: Yutang Jiang @ 2024-06-28  3:30 UTC (permalink / raw)
  To: Yutang Jiang OS, dev
  Cc: Open Source Submission, ruifeng.wang, nd, juraj.linkes,
	wathsala.vithanage, thomas, honnappa.nagarahalli

Due to changes in product family naming conventions, this updated version has no other changes except for some string adjustments.

Hi Thomas,
According to your suggestion, this version has also added a small description of the platform.


Best Regards,
Yutang Jiang

> -----Original Message-----
> From: Yutang Jiang OS <jiangyutang@os.amperecomputing.com>
> Sent: Friday, June 28, 2024 11:23 AM
> To: dev@dpdk.org
> Cc: Open Source Submission <patches@amperecomputing.com>; Yutang Jiang
> <yutang.jiang@amperecomputing.com>; Yutang Jiang OS
> <jiangyutang@os.amperecomputing.com>; ruifeng.wang@arm.com;
> nd@arm.com; juraj.linkes@pantheon.tech; wathsala.vithanage@arm.com;
> thomas@monjalon.net; honnappa.nagarahalli@arm.com
> Subject: [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04
> platform
> 
> The AmpereOneAC04 is efficient Cloud Native CPU:
>   Up to 192 Cores
>   2MB Private L2 Cache per Core
>   8 channel DDR5
>   128 lanes PCIe Gen5
> 
> Signed-off-by: Yutang Jiang <jiangyutang@os.amperecomputing.com>
> ---
>  config/arm/arm64_ampereoneac04_linux_gcc | 17 +++++++++++++++++
>  config/arm/meson.build                   | 19 +++++++++++++++++++
>  2 files changed, 36 insertions(+)
>  create mode 100644 config/arm/arm64_ampereoneac04_linux_gcc
> 
> diff --git a/config/arm/arm64_ampereoneac04_linux_gcc
> b/config/arm/arm64_ampereoneac04_linux_gcc
> new file mode 100644
> index 0000000000..a8dfd6551f
> --- /dev/null
> +++ b/config/arm/arm64_ampereoneac04_linux_gcc
> @@ -0,0 +1,17 @@
> +[binaries]
> +c = ['ccache', 'aarch64-linux-gnu-gcc'] cpp = ['ccache',
> +'aarch64-linux-gnu-g++'] ar = 'aarch64-linux-gnu-gcc-ar'
> +strip = 'aarch64-linux-gnu-strip'
> +pkgconfig = 'aarch64-linux-gnu-pkg-config'
> +pkg-config = 'aarch64-linux-gnu-pkg-config'
> +pcap-config = ''
> +
> +[host_machine]
> +system = 'linux'
> +cpu_family = 'aarch64'
> +cpu = 'armv8.6-a'
> +endian = 'little'
> +
> +[properties]
> +platform = 'ampereoneac04'
> diff --git a/config/arm/meson.build b/config/arm/meson.build index
> a45aa9e466..012935d5d7 100644
> --- a/config/arm/meson.build
> +++ b/config/arm/meson.build
> @@ -210,6 +210,16 @@ implementer_ampere = {
>                  ['RTE_MAX_LCORE', 320],
>                  ['RTE_MAX_NUMA_NODES', 8]
>              ]
> +        },
> +        '0xac4': {
> +            'march': 'armv8.6-a',
> +            'march_features': ['crc', 'crypto'],
> +            'mcpu': 'ampere1a',
> +            'flags': [
> +                ['RTE_MACHINE', '"AmpereOneAC04"'],
> +                ['RTE_MAX_LCORE', 384],
> +                ['RTE_MAX_NUMA_NODES', 8]
> +            ]
>          }
>      }
>  }
> @@ -371,6 +381,13 @@ soc_ampereone = {
>      'numa': true
>  }
> 
> +soc_ampereoneac04 = {
> +    'description': 'Ampere AmpereOne AC04',
> +    'implementer': '0xc0',
> +    'part_number': '0xac4',
> +    'numa': true
> +}
> +
>  soc_armada = {
>      'description': 'Marvell ARMADA',
>      'implementer': '0x41',
> @@ -621,6 +638,7 @@ generic:         Generic un-optimized build for armv8
> aarch64 execution mode.
>  generic_aarch32: Generic un-optimized build for armv8 aarch32 execution
> mode.
>  altra:           Ampere Altra/AltraMax
>  ampereone:       Ampere AmpereOne
> +ampereoneac04:   Ampere AmpereOneAC04
>  armada:          Marvell ARMADA
>  bluefield:       NVIDIA BlueField
>  bluefield3:      NVIDIA BlueField-3
> @@ -658,6 +676,7 @@ socs = {
>      'generic_aarch32': soc_generic_aarch32,
>      'altra': soc_altra,
>      'ampereone': soc_ampereone,
> +    'ampereoneac04': soc_ampereoneac04,
>      'armada': soc_armada,
>      'bluefield': soc_bluefield,
>      'bluefield3': soc_bluefield3,
> --
> 2.43.0


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

* Re: [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform
  2024-06-28  3:22 [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform Yutang Jiang
  2024-06-28  3:30 ` Yutang Jiang
@ 2024-07-01  9:27 ` Ruifeng Wang
  2024-07-07 13:46   ` Thomas Monjalon
  1 sibling, 1 reply; 4+ messages in thread
From: Ruifeng Wang @ 2024-07-01  9:27 UTC (permalink / raw)
  To: Yutang Jiang, dev
  Cc: patches, yutang.jiang, nd, juraj.linkes, wathsala.vithanage,
	thomas, honnappa.nagarahalli


On 2024/6/28 11:22 AM, Yutang Jiang wrote:
> The AmpereOneAC04 is efficient Cloud Native CPU:
>    Up to 192 Cores
>    2MB Private L2 Cache per Core
>    8 channel DDR5
>    128 lanes PCIe Gen5
> 
> Signed-off-by: Yutang Jiang <jiangyutang@os.amperecomputing.com>
> ---
>   config/arm/arm64_ampereoneac04_linux_gcc | 17 +++++++++++++++++
>   config/arm/meson.build                   | 19 +++++++++++++++++++
>   2 files changed, 36 insertions(+)
>   create mode 100644 config/arm/arm64_ampereoneac04_linux_gcc
> 
Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>

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

* Re: [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform
  2024-07-01  9:27 ` Ruifeng Wang
@ 2024-07-07 13:46   ` Thomas Monjalon
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Monjalon @ 2024-07-07 13:46 UTC (permalink / raw)
  To: Yutang Jiang
  Cc: dev, patches, yutang.jiang, nd, juraj.linkes, wathsala.vithanage,
	honnappa.nagarahalli, Ruifeng Wang

01/07/2024 11:27, Ruifeng Wang:
> 
> On 2024/6/28 11:22 AM, Yutang Jiang wrote:
> > The AmpereOneAC04 is efficient Cloud Native CPU:
> >    Up to 192 Cores
> >    2MB Private L2 Cache per Core
> >    8 channel DDR5
> >    128 lanes PCIe Gen5
> > 
> > Signed-off-by: Yutang Jiang <jiangyutang@os.amperecomputing.com>
> 
> Acked-by: Ruifeng Wang <ruifeng.wang@arm.com>

Applied, thanks.




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

end of thread, other threads:[~2024-07-07 14:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-28  3:22 [DPDK][PATCH v4] config/arm: add Ampere AmpereOneAC04 platform Yutang Jiang
2024-06-28  3:30 ` Yutang Jiang
2024-07-01  9:27 ` Ruifeng Wang
2024-07-07 13:46   ` Thomas Monjalon

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).