DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/2] Introduces armada target
@ 2019-05-18 21:10 lironh
  2019-05-18 21:10 ` [dpdk-dev] [PATCH v2 1/2] mk: add Marvell ARMADA architecture based on armv8-a lironh
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: lironh @ 2019-05-18 21:10 UTC (permalink / raw)
  To: thomas; +Cc: dev, Liron Himi

From: Liron Himi <lironh@marvell.com>

Introduces armada target to address difference
in number of cores, no numa support

Liron Himi (2):
  mk: add Marvell ARMADA architecture based on armv8-a
  meson: add Marvell ARMADA architecture based on armv8-a

 config/arm/arm64_armada_linux_gcc          | 16 ++++++++++++++++
 config/arm/meson.build                     |  8 +++++++-
 config/defconfig_arm64-armada-linux-gcc    |  1 +
 config/defconfig_arm64-armada-linuxapp-gcc | 25 +++++++++++++++++++++++++
 4 files changed, 49 insertions(+), 1 deletion(-)
 create mode 100644 config/arm/arm64_armada_linux_gcc
 create mode 120000 config/defconfig_arm64-armada-linux-gcc
 create mode 100644 config/defconfig_arm64-armada-linuxapp-gcc

-- 
2.7.4


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

* [dpdk-dev] [PATCH v2 1/2] mk: add Marvell ARMADA architecture based on armv8-a
  2019-05-18 21:10 [dpdk-dev] [PATCH v2 0/2] Introduces armada target lironh
@ 2019-05-18 21:10 ` lironh
  2019-05-18 21:10 ` [dpdk-dev] [PATCH v2 2/2] meson: " lironh
  2019-05-22  2:24 ` [dpdk-dev] [PATCH v2 0/2] Introduces armada target Gavin Hu (Arm Technology China)
  2 siblings, 0 replies; 7+ messages in thread
From: lironh @ 2019-05-18 21:10 UTC (permalink / raw)
  To: thomas; +Cc: dev, Liron Himi

From: Liron Himi <lironh@marvell.com>

This patch introduces armada target to address difference
in number of cores, no numa support

Signed-off-by: Liron Himi <lironh@marvell.com>
Reviewed-by: Alan Winkowski <walan@marvell.com>
Tested-by: Liron Himi <lironh@marvell.com>
---
 config/defconfig_arm64-armada-linux-gcc    |  1 +
 config/defconfig_arm64-armada-linuxapp-gcc | 25 +++++++++++++++++++++++++
 2 files changed, 26 insertions(+)
 create mode 120000 config/defconfig_arm64-armada-linux-gcc
 create mode 100644 config/defconfig_arm64-armada-linuxapp-gcc

diff --git a/config/defconfig_arm64-armada-linux-gcc b/config/defconfig_arm64-armada-linux-gcc
new file mode 120000
index 0000000..64ce2a5
--- /dev/null
+++ b/config/defconfig_arm64-armada-linux-gcc
@@ -0,0 +1 @@
+defconfig_arm64-armada-linuxapp-gcc
\ No newline at end of file
diff --git a/config/defconfig_arm64-armada-linuxapp-gcc b/config/defconfig_arm64-armada-linuxapp-gcc
new file mode 100644
index 0000000..0591802
--- /dev/null
+++ b/config/defconfig_arm64-armada-linuxapp-gcc
@@ -0,0 +1,25 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2018 Marvell International Ltd
+#
+
+#include "defconfig_arm64-armv8a-linux-gcc"
+
+#
+# Compile Environment Abstraction Layer
+#
+CONFIG_RTE_MAX_LCORE=16
+CONFIG_RTE_MAX_NUMA_NODES=1
+CONFIG_RTE_CACHE_LINE_SIZE=64
+
+# Enable PMDs
+CONFIG_RTE_LIBRTE_MVEP_COMMON=y
+CONFIG_RTE_LIBRTE_MVPP2_PMD=y
+CONFIG_RTE_LIBRTE_MVNETA_PMD=y
+CONFIG_RTE_LIBRTE_PMD_MVSAM_CRYPTO=y
+
+# Disable NXP as it is conflict with MUSDK
+CONFIG_RTE_LIBRTE_DPAA_BUS=n
+
+# Doesn't support NUMA
+CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
+CONFIG_RTE_LIBRTE_VHOST_NUMA=n
-- 
2.7.4


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

* [dpdk-dev] [PATCH v2 2/2] meson: add Marvell ARMADA architecture based on armv8-a
  2019-05-18 21:10 [dpdk-dev] [PATCH v2 0/2] Introduces armada target lironh
  2019-05-18 21:10 ` [dpdk-dev] [PATCH v2 1/2] mk: add Marvell ARMADA architecture based on armv8-a lironh
@ 2019-05-18 21:10 ` lironh
  2019-05-22  2:24 ` [dpdk-dev] [PATCH v2 0/2] Introduces armada target Gavin Hu (Arm Technology China)
  2 siblings, 0 replies; 7+ messages in thread
From: lironh @ 2019-05-18 21:10 UTC (permalink / raw)
  To: thomas; +Cc: dev, Liron Himi

From: Liron Himi <lironh@marvell.com>

Signed-off-by: Liron Himi <lironh@marvell.com>
Reviewed-by: Jerin Jacob <jerinj@marvell.com>
Tested-by: Liron Himi <lironh@marvell.com>
---
 config/arm/arm64_armada_linux_gcc | 16 ++++++++++++++++
 config/arm/meson.build            |  8 +++++++-
 2 files changed, 23 insertions(+), 1 deletion(-)
 create mode 100644 config/arm/arm64_armada_linux_gcc

diff --git a/config/arm/arm64_armada_linux_gcc b/config/arm/arm64_armada_linux_gcc
new file mode 100644
index 0000000..6e6d56f
--- /dev/null
+++ b/config/arm/arm64_armada_linux_gcc
@@ -0,0 +1,16 @@
+[binaries]
+c = 'aarch64-linux-gnu-gcc'
+cpp = 'aarch64-linux-gnu-cpp'
+ar = 'aarch64-linux-gnu-ar'
+as = 'aarch64-linux-gnu-as'
+strip = 'aarch64-linux-gnu-strip'
+pcap-config = ''
+
+[host_machine]
+system = 'linux'
+cpu_family = 'aarch64'
+cpu = 'armv8-a'
+endian = 'little'
+
+[properties]
+implementor_id = '0x56'
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 7fa6ed3..32decba 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -56,6 +56,12 @@ flags_dpaa2 = [
 	['RTE_MAX_NUMA_NODES', 1],
 	['RTE_MAX_LCORE', 16],
 	['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', false]]
+flags_armada = [
+	['RTE_MACHINE', '"armv8a"'],
+	['RTE_CACHE_LINE_SIZE', 64],
+	['RTE_MAX_NUMA_NODES', 1],
+	['RTE_MAX_LCORE', 16]]
+
 flags_default_extra = []
 flags_thunderx_extra = [
 	['RTE_MACHINE', '"thunderx"'],
@@ -104,7 +110,7 @@ impl_0x4e = ['NVIDIA', flags_generic, machine_args_generic]
 impl_0x50 = ['AppliedMicro', flags_generic, machine_args_generic]
 impl_0x51 = ['Qualcomm', flags_generic, machine_args_generic]
 impl_0x53 = ['Samsung', flags_generic, machine_args_generic]
-impl_0x56 = ['Marvell', flags_generic, machine_args_generic]
+impl_0x56 = ['Marvell ARMADA', flags_armada, machine_args_generic]
 impl_0x69 = ['Intel', flags_generic, machine_args_generic]
 impl_dpaa = ['NXP DPAA', flags_dpaa, machine_args_generic]
 impl_dpaa2 = ['NXP DPAA2', flags_dpaa2, machine_args_generic]
-- 
2.7.4


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

* Re: [dpdk-dev] [PATCH v2 0/2] Introduces armada target
  2019-05-18 21:10 [dpdk-dev] [PATCH v2 0/2] Introduces armada target lironh
  2019-05-18 21:10 ` [dpdk-dev] [PATCH v2 1/2] mk: add Marvell ARMADA architecture based on armv8-a lironh
  2019-05-18 21:10 ` [dpdk-dev] [PATCH v2 2/2] meson: " lironh
@ 2019-05-22  2:24 ` Gavin Hu (Arm Technology China)
  2019-06-03 23:19   ` Thomas Monjalon
  2019-06-04  8:27   ` [dpdk-dev] " Thomas Monjalon
  2 siblings, 2 replies; 7+ messages in thread
From: Gavin Hu (Arm Technology China) @ 2019-05-22  2:24 UTC (permalink / raw)
  To: lironh, thomas; +Cc: dev



> -----Original Message-----
> From: dev <dev-bounces@dpdk.org> On Behalf Of lironh@marvell.com
> Sent: Sunday, May 19, 2019 5:11 AM
> To: thomas@monjalon.net
> Cc: dev@dpdk.org; Liron Himi <lironh@marvell.com>
> Subject: [dpdk-dev] [PATCH v2 0/2] Introduces armada target
>
> From: Liron Himi <lironh@marvell.com>
>
> Introduces armada target to address difference
> in number of cores, no numa support
>
> Liron Himi (2):
>   mk: add Marvell ARMADA architecture based on armv8-a
>   meson: add Marvell ARMADA architecture based on armv8-a
>
>  config/arm/arm64_armada_linux_gcc          | 16 ++++++++++++++++
>  config/arm/meson.build                     |  8 +++++++-
>  config/defconfig_arm64-armada-linux-gcc    |  1 +
>  config/defconfig_arm64-armada-linuxapp-gcc | 25
> +++++++++++++++++++++++++
>  4 files changed, 49 insertions(+), 1 deletion(-)
>  create mode 100644 config/arm/arm64_armada_linux_gcc
>  create mode 120000 config/defconfig_arm64-armada-linux-gcc
>  create mode 100644 config/defconfig_arm64-armada-linuxapp-gcc
>
> --
> 2.7.4

Series-acked-by: Gavin Hu <gavin.hu@arm.com>

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

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

* Re: [dpdk-dev] [PATCH v2 0/2] Introduces armada target
  2019-05-22  2:24 ` [dpdk-dev] [PATCH v2 0/2] Introduces armada target Gavin Hu (Arm Technology China)
@ 2019-06-03 23:19   ` Thomas Monjalon
  2019-06-04  5:36     ` [dpdk-dev] [EXT] " Liron Himi
  2019-06-04  8:27   ` [dpdk-dev] " Thomas Monjalon
  1 sibling, 1 reply; 7+ messages in thread
From: Thomas Monjalon @ 2019-06-03 23:19 UTC (permalink / raw)
  To: lironh; +Cc: dev, Gavin Hu (Arm Technology China)

22/05/2019 04:24, Gavin Hu (Arm Technology China):
> From: lironh@marvell.com
> > Introduces armada target to address difference
> > in number of cores, no numa support
> >
> > Liron Himi (2):
> >   mk: add Marvell ARMADA architecture based on armv8-a
> >   meson: add Marvell ARMADA architecture based on armv8-a

Could be only one patch.

> Series-acked-by: Gavin Hu <gavin.hu@arm.com>

Where can we download the latest MUSDK to compile for this machine?



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

* Re: [dpdk-dev] [EXT] Re:  [PATCH v2 0/2] Introduces armada target
  2019-06-03 23:19   ` Thomas Monjalon
@ 2019-06-04  5:36     ` Liron Himi
  0 siblings, 0 replies; 7+ messages in thread
From: Liron Himi @ 2019-06-04  5:36 UTC (permalink / raw)
  To: Thomas Monjalon
  Cc: dev, Gavin Hu (Arm Technology China),
	Ruifeng Wang (Arm Technology China),
	Liron Himi

Hi Thomas,

I followed the history where two separate patches were uploaded, if you insist I will submit one patch.
As for the MUSDK, please look at the attached mail where Ruifeng was able to build DPDK with MUSDK.

If more help is needed, let me know

Regards,
Liron

-----Original Message-----
From: Thomas Monjalon <thomas@monjalon.net> 
Sent: Tuesday, June 4, 2019 02:19
To: Liron Himi <lironh@marvell.com>
Cc: dev@dpdk.org; Gavin Hu (Arm Technology China) <Gavin.Hu@arm.com>
Subject: [EXT] Re: [dpdk-dev] [PATCH v2 0/2] Introduces armada target

External Email

----------------------------------------------------------------------
22/05/2019 04:24, Gavin Hu (Arm Technology China):
> From: lironh@marvell.com
> > Introduces armada target to address difference in number of cores, 
> > no numa support
> >
> > Liron Himi (2):
> >   mk: add Marvell ARMADA architecture based on armv8-a
> >   meson: add Marvell ARMADA architecture based on armv8-a

Could be only one patch.

> Series-acked-by: Gavin Hu <gavin.hu@arm.com>

Where can we download the latest MUSDK to compile for this machine?



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

* Re: [dpdk-dev] [PATCH v2 0/2] Introduces armada target
  2019-05-22  2:24 ` [dpdk-dev] [PATCH v2 0/2] Introduces armada target Gavin Hu (Arm Technology China)
  2019-06-03 23:19   ` Thomas Monjalon
@ 2019-06-04  8:27   ` Thomas Monjalon
  1 sibling, 0 replies; 7+ messages in thread
From: Thomas Monjalon @ 2019-06-04  8:27 UTC (permalink / raw)
  To: lironh; +Cc: dev, Gavin Hu (Arm Technology China)

> > From: Liron Himi <lironh@marvell.com>
> >
> > Introduces armada target to address difference
> > in number of cores, no numa support
> >
> > Liron Himi (2):
> >   mk: add Marvell ARMADA architecture based on armv8-a
> >   meson: add Marvell ARMADA architecture based on armv8-a
> 
> Series-acked-by: Gavin Hu <gavin.hu@arm.com>

It seems it compiles fine with MUSDK 18.09.
Squashed and applied, thanks




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

end of thread, other threads:[~2019-06-04  8:27 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-18 21:10 [dpdk-dev] [PATCH v2 0/2] Introduces armada target lironh
2019-05-18 21:10 ` [dpdk-dev] [PATCH v2 1/2] mk: add Marvell ARMADA architecture based on armv8-a lironh
2019-05-18 21:10 ` [dpdk-dev] [PATCH v2 2/2] meson: " lironh
2019-05-22  2:24 ` [dpdk-dev] [PATCH v2 0/2] Introduces armada target Gavin Hu (Arm Technology China)
2019-06-03 23:19   ` Thomas Monjalon
2019-06-04  5:36     ` [dpdk-dev] [EXT] " Liron Himi
2019-06-04  8:27   ` [dpdk-dev] " 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).