DPDK patches and discussions
 help / color / mirror / Atom feed
From: Juraj Linkeš <juraj.linkes@pantheon.tech>
To: bruce.richardson@intel.com, Ruifeng.Wang@arm.com,
	Honnappa.Nagarahalli@arm.com, Phil.Yang@arm.com,
	vcchunga@amazon.com, Dharmik.Thakkar@arm.com,
	jerinjacobk@gmail.com, hemant.agrawal@nxp.com
Cc: dev@dpdk.org, Juraj Linkeš <juraj.linkes@pantheon.tech>
Subject: [dpdk-dev] [PATCH v4 6/6] build: update Arm builds with makefile flags
Date: Fri, 23 Oct 2020 16:48:08 +0200
Message-ID: <1603464488-25493-7-git-send-email-juraj.linkes@pantheon.tech> (raw)
In-Reply-To: <1603464488-25493-1-git-send-email-juraj.linkes@pantheon.tech>

Not all flags were moved properly from the old Makefile build system.
Disable corresponding drivers and libnuma in cross files and remove
deprecated config.

Signed-off-by: Juraj Linkeš <juraj.linkes@pantheon.tech>
---
 config/arm/arm64_armada_linux_gcc    | 2 ++
 config/arm/arm64_armv8_linux_gcc     | 8 ++++++--
 config/arm/arm64_bluefield_linux_gcc | 1 +
 config/arm/arm64_dpaa_linux_gcc      | 1 +
 config/arm/arm64_n1sdp_linux_gcc     | 1 +
 config/arm/arm64_octeontx2_linux_gcc | 1 +
 config/arm/arm64_stingray_linux_gcc  | 1 +
 config/arm/meson.build               | 5 ++++-
 drivers/meson.build                  | 4 ++++
 9 files changed, 21 insertions(+), 3 deletions(-)

diff --git a/config/arm/arm64_armada_linux_gcc b/config/arm/arm64_armada_linux_gcc
index 36100c594..e33f1e742 100644
--- a/config/arm/arm64_armada_linux_gcc
+++ b/config/arm/arm64_armada_linux_gcc
@@ -17,3 +17,5 @@ endian = 'little'
 implementer_id = '0x56'
 max_numa_nodes = 1
 max_lcores = 16
+has_libnuma = 0
+disabled_drivers = ['bus/dpaa', 'bus/fslmc', 'common/dpaax']
diff --git a/config/arm/arm64_armv8_linux_gcc b/config/arm/arm64_armv8_linux_gcc
index 779333199..c6010e303 100644
--- a/config/arm/arm64_armv8_linux_gcc
+++ b/config/arm/arm64_armv8_linux_gcc
@@ -28,7 +28,11 @@ implementer_id = 'generic'
 part_number = 'generic'
 
 # Supported extra configuration
-# max_numa_nodes = n  # will set RTE_MAX_NUMA_NODES
-# max_lcores = n      # will set RTE_MAX_LCORE
+# max_numa_nodes = n   # will set RTE_MAX_NUMA_NODES
+# max_lcores = n        # will set RTE_MAX_LCORE
 max_lcores = 256
 max_numa_nodes = 4
+
+# has_libnuma = 0      # set to 0 if the SoC is not a NUMA system
+# disabled_drivers += ['bus/dpaa', 'crypto']
+    # add to the set of disabled libraries
diff --git a/config/arm/arm64_bluefield_linux_gcc b/config/arm/arm64_bluefield_linux_gcc
index 7ff6fd309..e154ac4fd 100644
--- a/config/arm/arm64_bluefield_linux_gcc
+++ b/config/arm/arm64_bluefield_linux_gcc
@@ -17,3 +17,4 @@ implementer_id = '0x41'
 part_number = '0xd08'
 max_numa_nodes = 1
 max_lcores = 16
+has_libnuma = 0
diff --git a/config/arm/arm64_dpaa_linux_gcc b/config/arm/arm64_dpaa_linux_gcc
index adae86f57..78883a2ec 100644
--- a/config/arm/arm64_dpaa_linux_gcc
+++ b/config/arm/arm64_dpaa_linux_gcc
@@ -17,3 +17,4 @@ endian = 'little'
 implementer_id = 'dpaa'
 max_numa_nodes = 1
 max_lcores = 16
+has_libnuma = 0
diff --git a/config/arm/arm64_n1sdp_linux_gcc b/config/arm/arm64_n1sdp_linux_gcc
index 3a8b46812..4493227f3 100644
--- a/config/arm/arm64_n1sdp_linux_gcc
+++ b/config/arm/arm64_n1sdp_linux_gcc
@@ -17,3 +17,4 @@ implementer_id = '0x41'
 part_number = '0xd0c'
 max_numa_nodes = 1
 max_lcores = 4
+has_libnuma = 0
diff --git a/config/arm/arm64_octeontx2_linux_gcc b/config/arm/arm64_octeontx2_linux_gcc
index 2baf95a2a..ff9e5c403 100644
--- a/config/arm/arm64_octeontx2_linux_gcc
+++ b/config/arm/arm64_octeontx2_linux_gcc
@@ -17,3 +17,4 @@ implementer_id = '0x43'
 part_number = '0xb2'
 max_numa_nodes = 1
 max_lcores = 36
+has_libnuma = 0
diff --git a/config/arm/arm64_stingray_linux_gcc b/config/arm/arm64_stingray_linux_gcc
index 7ff6fd309..e154ac4fd 100644
--- a/config/arm/arm64_stingray_linux_gcc
+++ b/config/arm/arm64_stingray_linux_gcc
@@ -17,3 +17,4 @@ implementer_id = '0x41'
 part_number = '0xd08'
 max_numa_nodes = 1
 max_lcores = 16
+has_libnuma = 0
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 5def9e744..fc6fdf3ba 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -103,7 +103,6 @@ flags_octeontx2_extra = [
 	['RTE_MAX_NUMA_NODES', 1],
 	['RTE_MAX_LCORE', 36],
 	['RTE_ARM_FEATURE_ATOMICS', true],
-	['RTE_EAL_IGB_UIO', false],
 	['RTE_USE_C11_MEM_MODEL', true]
 ]
 # arm config (implementer 0x41) is the default config
@@ -233,6 +232,10 @@ else
 				['RTE_MAX_LCORE', cross_max_lcores]
 			]
 		endif
+		cross_has_libnuma = meson.get_cross_property('has_libnuma', '')
+		if cross_has_libnuma != ''
+			has_libnuma = cross_has_libnuma
+		endif
 	endif
 
 	machine_args = [] # Clear previous machine args
diff --git a/drivers/meson.build b/drivers/meson.build
index a41ff909e..4bdc3d5c9 100644
--- a/drivers/meson.build
+++ b/drivers/meson.build
@@ -21,6 +21,10 @@ subdirs = [
 disabled_drivers += run_command(list_dir_globs, get_option('disable_drivers'),
 		).stdout().split()
 
+if meson.is_cross_build()
+	disabled_drivers += meson.get_cross_property('disabled_drivers', [])
+endif
+
 default_cflags = machine_args
 default_cflags += ['-DALLOW_EXPERIMENTAL_API']
 default_cflags += ['-DALLOW_INTERNAL_API']
-- 
2.20.1


  parent reply	other threads:[~2020-10-23 14:50 UTC|newest]

Thread overview: 387+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-23 13:19 [dpdk-dev] [RFC PATCH 0/2] Arm build options rework Juraj Linkeš
2020-09-23 13:19 ` [dpdk-dev] [RFC PATCH 1/2] build: rework Arm build options Juraj Linkeš
2020-09-24  4:19   ` Honnappa Nagarahalli
2020-09-24 11:08     ` Juraj Linkeš
2020-09-24 19:17       ` Honnappa Nagarahalli
2020-09-24 22:08         ` Ali Saidi
     [not found]         ` <20200924220710.19937-1-alisaidi@amazon.com>
2020-09-28 19:39           ` Honnappa Nagarahalli
2020-09-23 13:19 ` [dpdk-dev] [RFC PATCH 2/2] build: disable drivers from file Juraj Linkeš
2020-09-23 13:58   ` Bruce Richardson
2020-09-24  8:31     ` Juraj Linkeš
2020-09-24  3:03 ` [dpdk-dev] [RFC PATCH 0/2] Arm build options rework Honnappa Nagarahalli
2020-10-13 14:54 ` [dpdk-dev] [RFC PATCH v2 0/6] " Juraj Linkeš
2020-10-13 14:54   ` [dpdk-dev] [RFC PATCH v2 1/6] build: rename default Arm build to generic-armv8 Juraj Linkeš
2020-10-13 14:54   ` [dpdk-dev] [RFC PATCH v2 2/6] build: refactor Arm build Juraj Linkeš
2020-10-13 14:54   ` [dpdk-dev] [RFC PATCH v2 3/6] build: automatic NUMA and cpu counts detection Juraj Linkeš
2020-10-13 15:47     ` Bruce Richardson
2020-10-14  6:04       ` Juraj Linkeš
2020-10-14  8:16         ` Bruce Richardson
2020-10-14  8:52           ` Juraj Linkeš
2020-10-14  9:22             ` Bruce Richardson
2020-10-13 14:54   ` [dpdk-dev] [RFC PATCH v2 4/6] build: move core and NUMA counts to cross files Juraj Linkeš
2020-10-13 14:54   ` [dpdk-dev] [RFC PATCH v2 5/6] build: disable Arm drivers Juraj Linkeš
2020-10-13 15:49     ` Bruce Richardson
2020-10-13 14:54   ` [dpdk-dev] [RFC PATCH v2 6/6] build: update Arm builds with makefile flags Juraj Linkeš
2020-10-21 11:37   ` [dpdk-dev] [RFC PATCH v3 0/6] Arm build options rework Juraj Linkeš
2020-10-21 11:37     ` [dpdk-dev] [RFC PATCH v3 1/6] build: rename default Arm build to generic-armv8 Juraj Linkeš
2020-10-21 11:52       ` Bruce Richardson
2020-10-21 12:17         ` Juraj Linkeš
2020-10-21 11:37     ` [dpdk-dev] [RFC PATCH v3 2/6] build: refactor Arm build Juraj Linkeš
2020-10-21 11:37     ` [dpdk-dev] [RFC PATCH v3 3/6] build: automatic NUMA and cpu counts detection Juraj Linkeš
2020-10-21 12:02       ` Bruce Richardson
2020-10-21 13:01         ` Juraj Linkeš
2020-10-21 14:13           ` Bruce Richardson
2020-10-21 14:27             ` Bruce Richardson
2020-10-23 10:07               ` Juraj Linkeš
2020-10-27 10:30                 ` Bruce Richardson
2020-10-29  4:31             ` Honnappa Nagarahalli
2020-11-02 13:55               ` Bruce Richardson
2020-11-02 19:01                 ` Honnappa Nagarahalli
2020-11-03  9:44                   ` Bruce Richardson
2020-11-05  9:23                     ` Juraj Linkeš
2020-11-06 23:40                     ` Honnappa Nagarahalli
2020-10-21 11:37     ` [dpdk-dev] [RFC PATCH v3 4/6] build: move core and NUMA counts to cross files Juraj Linkeš
2020-10-21 11:37     ` [dpdk-dev] [RFC PATCH v3 5/6] build: disable Arm drivers Juraj Linkeš
2020-10-21 11:37     ` [dpdk-dev] [RFC PATCH v3 6/6] build: update Arm builds with makefile flags Juraj Linkeš
2020-10-23 14:48     ` [dpdk-dev] [PATCH v4 0/6] Arm build options rework Juraj Linkeš
2020-10-23 14:48       ` [dpdk-dev] [PATCH v4 1/6] build: alias default build as generic Juraj Linkeš
2020-10-27  3:53         ` Honnappa Nagarahalli
2020-10-27  7:46           ` Juraj Linkeš
2020-10-23 14:48       ` [dpdk-dev] [PATCH v4 2/6] build: refactor Arm build Juraj Linkeš
2020-10-27  4:56         ` Honnappa Nagarahalli
2020-10-27  8:10           ` Juraj Linkeš
2020-10-27  9:12             ` Juraj Linkeš
2020-10-27 23:17               ` Honnappa Nagarahalli
2020-10-27 23:12             ` Honnappa Nagarahalli
2020-10-28 16:59         `