DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH 0/1] build: add emag(arm64) platform and default configurations
@ 2019-09-11  2:38 Jerry Hao OS
  2019-09-11  2:39 ` [dpdk-dev] [PATCH 1/1] build: add emag(arm64) platform and default configurations; Jerry Hao OS
  0 siblings, 1 reply; 2+ messages in thread
From: Jerry Hao OS @ 2019-09-11  2:38 UTC (permalink / raw)
  To: thomas; +Cc: dev, Jerry Hao OS

*** BLURB HERE ***

Jerry Hao (1):
  build: add emag(arm64) platform and default configurations;

 config/defconfig_arm64-emag-linux-gcc    |  1 +
 config/defconfig_arm64-emag-linuxapp-gcc |  8 ++++++
 mk/machine/emag/rte.vars.mk              | 31 ++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 120000 config/defconfig_arm64-emag-linux-gcc
 create mode 100644 config/defconfig_arm64-emag-linuxapp-gcc
 create mode 100644 mk/machine/emag/rte.vars.mk

-- 
2.17.1


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

* [dpdk-dev] [PATCH 1/1] build: add emag(arm64) platform and default configurations; 
  2019-09-11  2:38 [dpdk-dev] [PATCH 0/1] build: add emag(arm64) platform and default configurations Jerry Hao OS
@ 2019-09-11  2:39 ` Jerry Hao OS
  0 siblings, 0 replies; 2+ messages in thread
From: Jerry Hao OS @ 2019-09-11  2:39 UTC (permalink / raw)
  To: thomas; +Cc: dev, Jerry Hao OS

This patch is to add the emag default CACHE_LINE_SIZE settings and ARCH variable definitions

Signed-off-by: Jerry Hao <jerryhao@os.amperecomputing.com>
---
 config/defconfig_arm64-emag-linux-gcc    |  1 +
 config/defconfig_arm64-emag-linuxapp-gcc |  8 ++++++
 mk/machine/emag/rte.vars.mk              | 31 ++++++++++++++++++++++++
 3 files changed, 40 insertions(+)
 create mode 120000 config/defconfig_arm64-emag-linux-gcc
 create mode 100644 config/defconfig_arm64-emag-linuxapp-gcc
 create mode 100644 mk/machine/emag/rte.vars.mk

diff --git a/config/defconfig_arm64-emag-linux-gcc b/config/defconfig_arm64-emag-linux-gcc
new file mode 120000
index 000000000..21894a31a
--- /dev/null
+++ b/config/defconfig_arm64-emag-linux-gcc
@@ -0,0 +1 @@
+defconfig_arm64-emag-linuxapp-gcc
\ No newline at end of file
diff --git a/config/defconfig_arm64-emag-linuxapp-gcc b/config/defconfig_arm64-emag-linuxapp-gcc
new file mode 100644
index 000000000..f7c05044c
--- /dev/null
+++ b/config/defconfig_arm64-emag-linuxapp-gcc
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2019 Ampere Computing
+#
+
+#include "defconfig_arm64-armv8a-linux-gcc"
+
+CONFIG_RTE_MACHINE="emag"
+CONFIG_RTE_CACHE_LINE_SIZE=64
diff --git a/mk/machine/emag/rte.vars.mk b/mk/machine/emag/rte.vars.mk
new file mode 100644
index 000000000..9ce8b6bc9
--- /dev/null
+++ b/mk/machine/emag/rte.vars.mk
@@ -0,0 +1,31 @@
+# SPDX-License-Identifier: BSD-3-Clause
+# Copyright(c) 2019 Ampere Computing
+#
+
+#
+# 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 =
+
+MACHINE_CFLAGS += -march=armv8-a+crc+crypto
-- 
2.17.1


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

end of thread, other threads:[~2019-09-11 15:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-11  2:38 [dpdk-dev] [PATCH 0/1] build: add emag(arm64) platform and default configurations Jerry Hao OS
2019-09-11  2:39 ` [dpdk-dev] [PATCH 1/1] build: add emag(arm64) platform and default configurations; Jerry Hao OS

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