patches for DPDK stable branches
 help / color / mirror / Atom feed
From: Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>
To: Vimal Chungath <vcchunga@amazon.com>,
	"stable@dpdk.org" <stable@dpdk.org>
Cc: "bluca@debian.org" <bluca@debian.org>,
	"bruce.richardson@intel.com" <bruce.richardson@intel.com>,
	"alisaidi@amazon.com" <alisaidi@amazon.com>,
	"thomas@monjalon.net" <thomas@monjalon.net>, nd <nd@arm.com>,
	Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>
Subject: Re: [dpdk-stable] [19.11] [PATCH 1/1] config: add Graviton2(arm64) defconfig
Date: Wed, 7 Oct 2020 03:02:40 +0000	[thread overview]
Message-ID: <DBAPR08MB58142C37FE1267829DF0E14F980A0@DBAPR08MB5814.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <20201005185059.28915-2-vcchunga@amazon.com>

<snip>

> 
> Add make configuration for Graviton2 platform with 64-bit ARM Neoverse N1
nit                                                                                                         ^^^^ Arm

> cores.
> 
> Sample build steps:
> make config T=arm64-graviton2-linux-gcc O=arm64-build make -C arm64-
> build OR make config T=graviton2 O=arm64-build make -C arm64-build
> 
> For more information about Graviton2 platform, refer to:
> https://aws.amazon.com/ec2/graviton/
> 
> Signed-off-by: Vimal Chungath <vcchunga@amazon.com>
> ---
>  config/defconfig_arm64-graviton2-linux-gcc    |  1 +
>  config/defconfig_arm64-graviton2-linuxapp-gcc | 13 +++++++++++
>  config/defconfig_graviton2                    |  1 +
>  mk/machine/graviton2/rte.vars.mk              | 33
> +++++++++++++++++++++++++++
>  4 files changed, 48 insertions(+)
>  create mode 120000 config/defconfig_arm64-graviton2-linux-gcc
>  create mode 100644 config/defconfig_arm64-graviton2-linuxapp-gcc
>  create mode 120000 config/defconfig_graviton2  create mode 100644
> mk/machine/graviton2/rte.vars.mk
> 
> diff --git a/config/defconfig_arm64-graviton2-linux-gcc
> b/config/defconfig_arm64-graviton2-linux-gcc
> new file mode 120000
> index 000000000..80ac94d54
> --- /dev/null
> +++ b/config/defconfig_arm64-graviton2-linux-gcc
> @@ -0,0 +1 @@
> +defconfig_arm64-graviton2-linuxapp-gcc
> \ No newline at end of file
> diff --git a/config/defconfig_arm64-graviton2-linuxapp-gcc
> b/config/defconfig_arm64-graviton2-linuxapp-gcc
> new file mode 100644
> index 000000000..e99fef307
> --- /dev/null
> +++ b/config/defconfig_arm64-graviton2-linuxapp-gcc
> @@ -0,0 +1,13 @@
> +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) Amazon.com, Inc
> +or its affiliates #
> +
> +#include "defconfig_arm64-armv8a-linux-gcc"
> +
> +CONFIG_RTE_MACHINE="graviton2"
> +CONFIG_RTE_MAX_LCORE=64
> +CONFIG_RTE_CACHE_LINE_SIZE=64
> +CONFIG_RTE_MAX_MEM_MB=1048576
> +CONFIG_RTE_MAX_NUMA_NODES=1
> +CONFIG_RTE_EAL_NUMA_AWARE_HUGEPAGES=n
> +CONFIG_RTE_LIBRTE_VHOST_NUMA=n
> diff --git a/config/defconfig_graviton2 b/config/defconfig_graviton2 new file
> mode 120000 index 000000000..80ac94d54
> --- /dev/null
> +++ b/config/defconfig_graviton2
> @@ -0,0 +1 @@
> +defconfig_arm64-graviton2-linuxapp-gcc
> \ No newline at end of file
> diff --git a/mk/machine/graviton2/rte.vars.mk
> b/mk/machine/graviton2/rte.vars.mk
> new file mode 100644
> index 000000000..acb027968
> --- /dev/null
> +++ b/mk/machine/graviton2/rte.vars.mk
> @@ -0,0 +1,33 @@
> +# SPDX-License-Identifier: BSD-3-Clause # Copyright(c) Amazon.com, Inc
> +or its affiliates #
> +
> +#
> +# machine:
> +#
> +#   - can define ARCH variable (overridden by cmdline value)
> +#   - can define CROSS variable (overridden by cmdline value)
> +#   - define MACHINE_CFLAGS variable (overridden by cmdline value)
> +#   - define MACHINE_LDFLAGS variable (overridden by cmdline value)
> +#   - define MACHINE_ASFLAGS variable (overridden by cmdline value)
> +#   - can define CPU_CFLAGS variable (overridden by cmdline value) that
> +#     overrides the one defined in arch.
> +#   - can define CPU_LDFLAGS variable (overridden by cmdline value) that
> +#     overrides the one defined in arch.
> +#   - can define CPU_ASFLAGS variable (overridden by cmdline value) that
> +#     overrides the one defined in arch.
> +#   - may override any previously defined variable
> +#
> +
> +# ARCH =
> +# CROSS =
> +# MACHINE_CFLAGS =
> +# MACHINE_LDFLAGS =
> +# MACHINE_ASFLAGS =
> +# CPU_CFLAGS =
> +# CPU_LDFLAGS =
> +# CPU_ASFLAGS =
> +
> +include $(RTE_SDK)/mk/rte.helper.mk
> +
> +MACHINE_CFLAGS += $(call rte_cc_has_argument, -march=armv8.2-
> a+crypto)
MACHINE_CFLAGS += $(call rte_cc_has_argument, -mcpu=neoverse-n1) is needed for possible N1 micro-architecture optimizations.

> --
> 2.16.6


  reply	other threads:[~2020-10-07  3:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-05 18:50 [dpdk-stable] [19.11] [PATCH 0/1] Add Graviton2(arm64) build configuration Vimal Chungath
2020-10-05 18:50 ` [dpdk-stable] [19.11] [PATCH 1/1] config: add Graviton2(arm64) defconfig Vimal Chungath
2020-10-07  3:02   ` Honnappa Nagarahalli [this message]
2020-10-06  8:12 ` [dpdk-stable] [19.11] [PATCH 0/1] Add Graviton2(arm64) build configuration Luca Boccassi
2020-10-06 18:44   ` [dpdk-stable] [19.11] [PATCH 1/1] config: add Graviton2(arm64) defconfig Vimal Chungath
2020-10-07  9:18     ` Luca Boccassi
2020-10-07 22:56       ` Vimal Chungath
2020-10-08  4:40         ` Honnappa Nagarahalli
2020-10-07 22:59 ` [dpdk-stable] [19.11] [PATCH v2 0/1] Add Graviton2(arm64) build configuration Vimal Chungath
2020-10-07 22:59   ` [dpdk-stable] [19.11] [PATCH v2 1/1] config: add Graviton2(arm64) defconfig Vimal Chungath
2020-10-08  4:45     ` Honnappa Nagarahalli

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=DBAPR08MB58142C37FE1267829DF0E14F980A0@DBAPR08MB5814.eurprd08.prod.outlook.com \
    --to=honnappa.nagarahalli@arm.com \
    --cc=alisaidi@amazon.com \
    --cc=bluca@debian.org \
    --cc=bruce.richardson@intel.com \
    --cc=nd@arm.com \
    --cc=stable@dpdk.org \
    --cc=thomas@monjalon.net \
    --cc=vcchunga@amazon.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).