* [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson
@ 2018-06-08 16:38 Bruce Richardson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds Bruce Richardson
` (8 more replies)
0 siblings, 9 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-06-08 16:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
This patchset enables building DPDK on 32-bit systems, and has been tested
using debian 32-bit on x86 i.e. doing an "i686" build in the old build
system.
Additional work is still required (possibly via cross-file) to get DPDK
building for 32-bit on a 64-bit system, but this is the first step in that
process.
Bruce Richardson (7):
kni: disable for 32-bit meson builds
bpf: fix 32-bit build support with meson
net/sfc: disable for 32-bit builds
build: disable pointer to int conversion warnings for 32-bit
dpaa2: fix default IOVA build setting for meson builds
examples/kni: fix dependency check for building with meson
net/avp: fix 32-bit meson builds
config/arm/meson.build | 2 +-
config/meson.build | 5 +++++
drivers/net/avp/avp_ethdev.c | 2 +-
drivers/net/sfc/meson.build | 2 +-
examples/kni/meson.build | 5 ++---
lib/librte_bpf/meson.build | 2 +-
lib/librte_kni/meson.build | 2 +-
7 files changed, 12 insertions(+), 8 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
@ 2018-06-08 16:38 ` Bruce Richardson
2018-07-02 23:45 ` Ferruh Yigit
2018-06-08 16:38 ` [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson Bruce Richardson
` (7 subsequent siblings)
8 siblings, 1 reply; 28+ messages in thread
From: Bruce Richardson @ 2018-06-08 16:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
The kni library is not supported on 32-bit so disable it for those
builds using meson.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
lib/librte_kni/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build
index c4b21961c..a738a033a 100644
--- a/lib/librte_kni/meson.build
+++ b/lib/librte_kni/meson.build
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-if host_machine.system() != 'linux'
+if host_machine.system() != 'linux' or cc.sizeof('void *') == 4
build = false
endif
version = 2
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds Bruce Richardson
@ 2018-06-08 16:38 ` Bruce Richardson
2018-06-14 11:57 ` Ananyev, Konstantin
2018-06-08 16:38 ` [dpdk-dev] [PATCH 3/7] net/sfc: disable for 32-bit builds Bruce Richardson
` (6 subsequent siblings)
8 siblings, 1 reply; 28+ messages in thread
From: Bruce Richardson @ 2018-06-08 16:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
The JIT is only supported on x86_64 so disable for 32-bit builds.
Fixes: cc752e43e079 ("bpf: add JIT compilation for x86_64 ISA")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
lib/librte_bpf/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build
index de9de0091..bc0cd78f9 100644
--- a/lib/librte_bpf/meson.build
+++ b/lib/librte_bpf/meson.build
@@ -8,7 +8,7 @@ sources = files('bpf.c',
'bpf_pkt.c',
'bpf_validate.c')
-if arch_subdir == 'x86'
+if arch_subdir == 'x86' and cc.sizeof('void *') == 8
sources += files('bpf_jit_x86.c')
endif
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH 3/7] net/sfc: disable for 32-bit builds
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds Bruce Richardson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson Bruce Richardson
@ 2018-06-08 16:38 ` Bruce Richardson
2018-06-08 17:10 ` Andrew Rybchenko
2018-06-08 16:38 ` [dpdk-dev] [PATCH 4/7] build: disable pointer to int conversion warnings for 32-bit Bruce Richardson
` (5 subsequent siblings)
8 siblings, 1 reply; 28+ messages in thread
From: Bruce Richardson @ 2018-06-08 16:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
The sfc driver is not supported on 32-bit so disable in meson in
those cases.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
drivers/net/sfc/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build
index 3aa14c7bd..2d34e869d 100644
--- a/drivers/net/sfc/meson.build
+++ b/drivers/net/sfc/meson.build
@@ -6,7 +6,7 @@
# This software was jointly developed between OKTET Labs (under contract
# for Solarflare) and Solarflare Communications, Inc.
-if arch_subdir != 'x86'
+if arch_subdir != 'x86' or cc.sizeof('void *') == 4
build = false
endif
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH 4/7] build: disable pointer to int conversion warnings for 32-bit
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
` (2 preceding siblings ...)
2018-06-08 16:38 ` [dpdk-dev] [PATCH 3/7] net/sfc: disable for 32-bit builds Bruce Richardson
@ 2018-06-08 16:38 ` Bruce Richardson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 5/7] dpaa2: fix default IOVA build setting for meson builds Bruce Richardson
` (4 subsequent siblings)
8 siblings, 0 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-06-08 16:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
Converting a 32-bit pointer to a 64-bit integer is generally safe, but
generates a lot of warnings when compiling 32-bit code with meson. The
warnings are not flagged when using make, so just disable them for
32-bit meson builds.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
config/meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/config/meson.build b/config/meson.build
index 50081b572..1531d9f0e 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -60,6 +60,10 @@ warning_flags = [
'-Wno-address-of-packed-member',
'-Wno-format-truncation'
]
+if cc.sizeof('void *') == 4
+# for 32-bit, don't warn about casting a 32-bit pointer to 64-bit int - it's fine!!
+ warning_flags += '-Wno-pointer-to-int-cast'
+endif
foreach arg: warning_flags
if cc.has_argument(arg)
add_project_arguments(arg, language: 'c')
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH 5/7] dpaa2: fix default IOVA build setting for meson builds
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
` (3 preceding siblings ...)
2018-06-08 16:38 ` [dpdk-dev] [PATCH 4/7] build: disable pointer to int conversion warnings for 32-bit Bruce Richardson
@ 2018-06-08 16:38 ` Bruce Richardson
2018-06-29 8:52 ` Hemant Agrawal
2018-06-08 16:38 ` [dpdk-dev] [PATCH 6/7] examples/kni: fix dependency check for building with meson Bruce Richardson
` (3 subsequent siblings)
8 siblings, 1 reply; 28+ messages in thread
From: Bruce Richardson @ 2018-06-08 16:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson, hemant.agrawal
By default, the DPAA2_USE_PHYS_IOVA setting with the make build-system
is "y", which is overridden to "n" in the config file specifically for
the arm64-dpaa2-linuxapp-gcc builds. The lack of this setting in meson
builds causes issues for 32-bit build, as the alternative code paths
have compiler warnings e.g. for i686 builds. Therefore we should align
the meson and make settings, setting the value to "true" by default and
overriding it to "false" for dpaa2-specific builds.
Fixes: 6ec78c2463ac ("build: add meson support for dpaaX platforms")
Cc: hemant.agrawal@nxp.com
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
config/arm/meson.build | 2 +-
config/meson.build | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 5ad926eda..40dbc87f7 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -64,7 +64,7 @@ flags_dpaa2 = [
['RTE_CACHE_LINE_SIZE', 64],
['RTE_MAX_NUMA_NODES', 1],
['RTE_MAX_LCORE', 16],
- ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', 'n']]
+ ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', false]]
## Arm implementer ID (ARM DDI 0487C.a, Section G7.2.106, Page G7-5321)
impl_generic = ['Generic armv8', flags_generic, machine_args_generic]
diff --git a/config/meson.build b/config/meson.build
index 1531d9f0e..7a84fa8d0 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -78,6 +78,7 @@ dpdk_conf.set('RTE_EAL_ALLOW_INV_SOCKET_ID', get_option('allow_invalid_socket_id
# values which have defaults which may be overridden
dpdk_conf.set('RTE_MAX_VFIO_GROUPS', 64)
dpdk_conf.set('RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB', 64)
+dpdk_conf.set('RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', true)
compile_time_cpuflags = []
if host_machine.cpu_family().startswith('x86')
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH 6/7] examples/kni: fix dependency check for building with meson
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
` (4 preceding siblings ...)
2018-06-08 16:38 ` [dpdk-dev] [PATCH 5/7] dpaa2: fix default IOVA build setting for meson builds Bruce Richardson
@ 2018-06-08 16:38 ` Bruce Richardson
2018-07-02 23:47 ` Ferruh Yigit
2018-06-08 16:38 ` [dpdk-dev] [PATCH 7/7] net/avp: fix 32-bit meson builds Bruce Richardson
` (2 subsequent siblings)
8 siblings, 1 reply; 28+ messages in thread
From: Bruce Richardson @ 2018-06-08 16:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
Rather than hard-coding the example app to be built only when a set of
conditions are met, we can simplify things by having the app built when
KNI library itself is available. That saves us duplicating the same set
of restrictions on both library and example app.
Fixes: 89f0711f9ddf ("examples: build some samples with meson")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
examples/kni/meson.build | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/examples/kni/meson.build b/examples/kni/meson.build
index 0443ab99b..41b87f8b3 100644
--- a/examples/kni/meson.build
+++ b/examples/kni/meson.build
@@ -6,9 +6,8 @@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
-if host_machine.system() != 'linux'
- build = false
-endif
+# this app can be built if-and-only-if KNI library is buildable
+build = dpdk_conf.has('LIB_LIBRTE_KNI')
deps += ['kni', 'bus_pci']
sources = files(
'main.c'
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH 7/7] net/avp: fix 32-bit meson builds
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
` (5 preceding siblings ...)
2018-06-08 16:38 ` [dpdk-dev] [PATCH 6/7] examples/kni: fix dependency check for building with meson Bruce Richardson
@ 2018-06-08 16:38 ` Bruce Richardson
2018-06-08 16:58 ` Legacy, Allain
2018-06-29 8:53 ` [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Hemant Agrawal
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
8 siblings, 1 reply; 28+ messages in thread
From: Bruce Richardson @ 2018-06-08 16:38 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson, allain.legacy
When compiling with meson, extra warnings are enabled about casting from
integers to different size pointers. This triggers an error in AVP as the
addition of the offset to the pointer address causes the result to be a
64-bit integer which doesn't fit a 32-bit pointer. The fix here is to
explicitly indicate that the offset is of type "uintptr_t" which prevents
any promotion which would cause errors.
Fixes: c0ad584222b5 ("net/avp: add device initialization")
Cc: allain.legacy@windriver.com
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
---
drivers/net/avp/avp_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c
index dc97e60e6..5e859c8dd 100644
--- a/drivers/net/avp/avp_ethdev.c
+++ b/drivers/net/avp/avp_ethdev.c
@@ -383,7 +383,7 @@ avp_dev_translate_address(struct rte_eth_dev *eth_dev,
(host_phys_addr < (map->phys_addr + map->length))) {
/* address is within this segment */
offset += (host_phys_addr - map->phys_addr);
- addr = RTE_PTR_ADD(addr, offset);
+ addr = RTE_PTR_ADD(addr, (uintptr_t)offset);
PMD_DRV_LOG(DEBUG, "Translating host physical 0x%" PRIx64 " to guest virtual 0x%p\n",
host_phys_addr, addr);
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH 7/7] net/avp: fix 32-bit meson builds
2018-06-08 16:38 ` [dpdk-dev] [PATCH 7/7] net/avp: fix 32-bit meson builds Bruce Richardson
@ 2018-06-08 16:58 ` Legacy, Allain
0 siblings, 0 replies; 28+ messages in thread
From: Legacy, Allain @ 2018-06-08 16:58 UTC (permalink / raw)
To: RICHARDSON, BRUCE, dev; +Cc: RICHARDSON, BRUCE
> -----Original Message-----
> From: Bruce Richardson [mailto:bruce.richardson@intel.com]
> Sent: Friday, June 08, 2018 12:38 PM
> To: dev@dpdk.org
> Cc: RICHARDSON, BRUCE; Legacy, Allain
> Subject: [PATCH 7/7] net/avp: fix 32-bit meson builds
>
> When compiling with meson, extra warnings are enabled about casting from
> integers to different size pointers. This triggers an error in AVP as the
> addition of the offset to the pointer address causes the result to be a 64-bit
> integer which doesn't fit a 32-bit pointer. The fix here is to explicitly indicate
> that the offset is of type "uintptr_t" which prevents any promotion which
> would cause errors.
>
> Fixes: c0ad584222b5 ("net/avp: add device initialization")
>
> Cc: allain.legacy@windriver.com
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Allain Legacy <allain.legacy@windriver.com>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH 3/7] net/sfc: disable for 32-bit builds
2018-06-08 16:38 ` [dpdk-dev] [PATCH 3/7] net/sfc: disable for 32-bit builds Bruce Richardson
@ 2018-06-08 17:10 ` Andrew Rybchenko
0 siblings, 0 replies; 28+ messages in thread
From: Andrew Rybchenko @ 2018-06-08 17:10 UTC (permalink / raw)
To: Bruce Richardson, dev
On 06/08/2018 07:38 PM, Bruce Richardson wrote:
> The sfc driver is not supported on 32-bit so disable in meson in
> those cases.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson Bruce Richardson
@ 2018-06-14 11:57 ` Ananyev, Konstantin
0 siblings, 0 replies; 28+ messages in thread
From: Ananyev, Konstantin @ 2018-06-14 11:57 UTC (permalink / raw)
To: Richardson, Bruce, dev; +Cc: Richardson, Bruce
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson
> Sent: Friday, June 8, 2018 5:38 PM
> To: dev@dpdk.org
> Cc: Richardson, Bruce <bruce.richardson@intel.com>
> Subject: [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson
>
> The JIT is only supported on x86_64 so disable for 32-bit builds.
>
> Fixes: cc752e43e079 ("bpf: add JIT compilation for x86_64 ISA")
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> lib/librte_bpf/meson.build | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build
> index de9de0091..bc0cd78f9 100644
> --- a/lib/librte_bpf/meson.build
> +++ b/lib/librte_bpf/meson.build
> @@ -8,7 +8,7 @@ sources = files('bpf.c',
> 'bpf_pkt.c',
> 'bpf_validate.c')
>
> -if arch_subdir == 'x86'
> +if arch_subdir == 'x86' and cc.sizeof('void *') == 8
> sources += files('bpf_jit_x86.c')
> endif
>
> --
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
> 2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH 5/7] dpaa2: fix default IOVA build setting for meson builds
2018-06-08 16:38 ` [dpdk-dev] [PATCH 5/7] dpaa2: fix default IOVA build setting for meson builds Bruce Richardson
@ 2018-06-29 8:52 ` Hemant Agrawal
0 siblings, 0 replies; 28+ messages in thread
From: Hemant Agrawal @ 2018-06-29 8:52 UTC (permalink / raw)
To: Bruce Richardson, dev
On 6/8/2018 10:08 PM, Bruce Richardson wrote:
> By default, the DPAA2_USE_PHYS_IOVA setting with the make build-system
> is "y", which is overridden to "n" in the config file specifically for
> the arm64-dpaa2-linuxapp-gcc builds. The lack of this setting in meson
> builds causes issues for 32-bit build, as the alternative code paths
> have compiler warnings e.g. for i686 builds. Therefore we should align
> the meson and make settings, setting the value to "true" by default and
> overriding it to "false" for dpaa2-specific builds.
>
> Fixes: 6ec78c2463ac ("build: add meson support for dpaaX platforms")
>
>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
` (6 preceding siblings ...)
2018-06-08 16:38 ` [dpdk-dev] [PATCH 7/7] net/avp: fix 32-bit meson builds Bruce Richardson
@ 2018-06-29 8:53 ` Hemant Agrawal
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
8 siblings, 0 replies; 28+ messages in thread
From: Hemant Agrawal @ 2018-06-29 8:53 UTC (permalink / raw)
To: Bruce Richardson, dev
On 6/8/2018 10:08 PM, Bruce Richardson wrote:
> This patchset enables building DPDK on 32-bit systems, and has been tested
> using debian 32-bit on x86 i.e. doing an "i686" build in the old build
> system.
>
> Additional work is still required (possibly via cross-file) to get DPDK
> building for 32-bit on a 64-bit system, but this is the first step in that
> process.
>
> Bruce Richardson (7):
> kni: disable for 32-bit meson builds
> bpf: fix 32-bit build support with meson
> net/sfc: disable for 32-bit builds
> build: disable pointer to int conversion warnings for 32-bit
> dpaa2: fix default IOVA build setting for meson builds
> examples/kni: fix dependency check for building with meson
> net/avp: fix 32-bit meson builds
>
> config/arm/meson.build | 2 +-
> config/meson.build | 5 +++++
> drivers/net/avp/avp_ethdev.c | 2 +-
> drivers/net/sfc/meson.build | 2 +-
> examples/kni/meson.build | 5 ++---
> lib/librte_bpf/meson.build | 2 +-
> lib/librte_kni/meson.build | 2 +-
> 7 files changed, 12 insertions(+), 8 deletions(-)
>
Series-Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds
2018-06-08 16:38 ` [dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds Bruce Richardson
@ 2018-07-02 23:45 ` Ferruh Yigit
0 siblings, 0 replies; 28+ messages in thread
From: Ferruh Yigit @ 2018-07-02 23:45 UTC (permalink / raw)
To: Bruce Richardson, dev
On 6/8/2018 5:38 PM, Bruce Richardson wrote:
> The kni library is not supported on 32-bit so disable it for those
> builds using meson.
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH 6/7] examples/kni: fix dependency check for building with meson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 6/7] examples/kni: fix dependency check for building with meson Bruce Richardson
@ 2018-07-02 23:47 ` Ferruh Yigit
2018-07-03 10:07 ` Bruce Richardson
0 siblings, 1 reply; 28+ messages in thread
From: Ferruh Yigit @ 2018-07-02 23:47 UTC (permalink / raw)
To: Bruce Richardson, dev
On 6/8/2018 5:38 PM, Bruce Richardson wrote:
> Rather than hard-coding the example app to be built only when a set of
> conditions are met, we can simplify things by having the app built when
> KNI library itself is available. That saves us duplicating the same set
> of restrictions on both library and example app.
>
> Fixes: 89f0711f9ddf ("examples: build some samples with meson")
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> ---
> examples/kni/meson.build | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> diff --git a/examples/kni/meson.build b/examples/kni/meson.build
> index 0443ab99b..41b87f8b3 100644
> --- a/examples/kni/meson.build
> +++ b/examples/kni/meson.build
> @@ -6,9 +6,8 @@
> # To build this example as a standalone application with an already-installed
> # DPDK instance, use 'make'
>
> -if host_machine.system() != 'linux'
> - build = false
> -endif
> +# this app can be built if-and-only-if KNI library is buildable
> +build = dpdk_conf.has('LIB_LIBRTE_KNI')
s/LIB_LIBRTE_KNI/RTE_LIBRTE_KNI/
Same needs to be updated in drivers/net/kni/meson.build too
> deps += ['kni', 'bus_pci']
> sources = files(
> 'main.c'
>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH 6/7] examples/kni: fix dependency check for building with meson
2018-07-02 23:47 ` Ferruh Yigit
@ 2018-07-03 10:07 ` Bruce Richardson
0 siblings, 0 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:07 UTC (permalink / raw)
To: Ferruh Yigit; +Cc: dev
On Tue, Jul 03, 2018 at 12:47:18AM +0100, Ferruh Yigit wrote:
> On 6/8/2018 5:38 PM, Bruce Richardson wrote:
> > Rather than hard-coding the example app to be built only when a set of
> > conditions are met, we can simplify things by having the app built when
> > KNI library itself is available. That saves us duplicating the same set
> > of restrictions on both library and example app.
> >
> > Fixes: 89f0711f9ddf ("examples: build some samples with meson")
> >
> > Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> > ---
> > examples/kni/meson.build | 5 ++---
> > 1 file changed, 2 insertions(+), 3 deletions(-)
> >
> > diff --git a/examples/kni/meson.build b/examples/kni/meson.build
> > index 0443ab99b..41b87f8b3 100644
> > --- a/examples/kni/meson.build
> > +++ b/examples/kni/meson.build
> > @@ -6,9 +6,8 @@
> > # To build this example as a standalone application with an already-installed
> > # DPDK instance, use 'make'
> >
> > -if host_machine.system() != 'linux'
> > - build = false
> > -endif
> > +# this app can be built if-and-only-if KNI library is buildable
> > +build = dpdk_conf.has('LIB_LIBRTE_KNI')
>
> s/LIB_LIBRTE_KNI/RTE_LIBRTE_KNI/
>
> Same needs to be updated in drivers/net/kni/meson.build too
>
Thanks, good catch.
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 0/8] Enable 32-bit native builds with meson
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
` (7 preceding siblings ...)
2018-06-29 8:53 ` [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Hemant Agrawal
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 1/8] kni: disable for 32-bit meson builds Bruce Richardson
` (8 more replies)
8 siblings, 9 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
This patchset enables building DPDK on 32-bit systems, and has been tested
using debian 32-bit on x86 i.e. doing an "i686" build in the old build
system.
v2:
- fixed LIB_LIBRTE_KNI to RTE_LIBRTE_KNI in examples/kni patch [Ferruh]
- added patch to make same change in drivers/net/kni [Ferruh]
Bruce Richardson (8):
kni: disable for 32-bit meson builds
bpf: fix 32-bit build support with meson
net/sfc: disable for 32-bit builds
build: disable pointer to int conversion warnings for 32-bit
dpaa2: fix default IOVA build setting for meson builds
examples/kni: fix dependency check for building with meson
net/avp: fix 32-bit meson builds
net/kni: fix check for meson build
config/arm/meson.build | 2 +-
config/meson.build | 5 +++++
drivers/net/avp/avp_ethdev.c | 2 +-
drivers/net/kni/meson.build | 2 +-
drivers/net/sfc/meson.build | 2 +-
examples/kni/meson.build | 5 ++---
lib/librte_bpf/meson.build | 2 +-
lib/librte_kni/meson.build | 2 +-
8 files changed, 13 insertions(+), 9 deletions(-)
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 1/8] kni: disable for 32-bit meson builds
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 2/8] bpf: fix 32-bit build support with meson Bruce Richardson
` (7 subsequent siblings)
8 siblings, 0 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
The kni library is not supported on 32-bit so disable it for those
builds using meson.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
lib/librte_kni/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_kni/meson.build b/lib/librte_kni/meson.build
index c4b21961c..a738a033a 100644
--- a/lib/librte_kni/meson.build
+++ b/lib/librte_kni/meson.build
@@ -1,7 +1,7 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2017 Intel Corporation
-if host_machine.system() != 'linux'
+if host_machine.system() != 'linux' or cc.sizeof('void *') == 4
build = false
endif
version = 2
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 2/8] bpf: fix 32-bit build support with meson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 1/8] kni: disable for 32-bit meson builds Bruce Richardson
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 3/8] net/sfc: disable for 32-bit builds Bruce Richardson
` (6 subsequent siblings)
8 siblings, 0 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
The JIT is only supported on x86_64 so disable for 32-bit builds.
Fixes: cc752e43e079 ("bpf: add JIT compilation for x86_64 ISA")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
lib/librte_bpf/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_bpf/meson.build b/lib/librte_bpf/meson.build
index de9de0091..bc0cd78f9 100644
--- a/lib/librte_bpf/meson.build
+++ b/lib/librte_bpf/meson.build
@@ -8,7 +8,7 @@ sources = files('bpf.c',
'bpf_pkt.c',
'bpf_validate.c')
-if arch_subdir == 'x86'
+if arch_subdir == 'x86' and cc.sizeof('void *') == 8
sources += files('bpf_jit_x86.c')
endif
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 3/8] net/sfc: disable for 32-bit builds
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 1/8] kni: disable for 32-bit meson builds Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 2/8] bpf: fix 32-bit build support with meson Bruce Richardson
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 4/8] build: disable pointer to int conversion warnings for 32-bit Bruce Richardson
` (5 subsequent siblings)
8 siblings, 0 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
The sfc driver is not supported on 32-bit so disable in meson in
those cases.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/net/sfc/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build
index 3aa14c7bd..2d34e869d 100644
--- a/drivers/net/sfc/meson.build
+++ b/drivers/net/sfc/meson.build
@@ -6,7 +6,7 @@
# This software was jointly developed between OKTET Labs (under contract
# for Solarflare) and Solarflare Communications, Inc.
-if arch_subdir != 'x86'
+if arch_subdir != 'x86' or cc.sizeof('void *') == 4
build = false
endif
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 4/8] build: disable pointer to int conversion warnings for 32-bit
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
` (2 preceding siblings ...)
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 3/8] net/sfc: disable for 32-bit builds Bruce Richardson
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 5/8] dpaa2: fix default IOVA build setting for meson builds Bruce Richardson
` (4 subsequent siblings)
8 siblings, 0 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
Converting a 32-bit pointer to a 64-bit integer is generally safe, but
generates a lot of warnings when compiling 32-bit code with meson. The
warnings are not flagged when using make, so just disable them for
32-bit meson builds.
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
config/meson.build | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/config/meson.build b/config/meson.build
index 50081b572..1531d9f0e 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -60,6 +60,10 @@ warning_flags = [
'-Wno-address-of-packed-member',
'-Wno-format-truncation'
]
+if cc.sizeof('void *') == 4
+# for 32-bit, don't warn about casting a 32-bit pointer to 64-bit int - it's fine!!
+ warning_flags += '-Wno-pointer-to-int-cast'
+endif
foreach arg: warning_flags
if cc.has_argument(arg)
add_project_arguments(arg, language: 'c')
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 5/8] dpaa2: fix default IOVA build setting for meson builds
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
` (3 preceding siblings ...)
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 4/8] build: disable pointer to int conversion warnings for 32-bit Bruce Richardson
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 6/8] examples/kni: fix dependency check for building with meson Bruce Richardson
` (3 subsequent siblings)
8 siblings, 0 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
By default, the DPAA2_USE_PHYS_IOVA setting with the make build-system
is "y", which is overridden to "n" in the config file specifically for
the arm64-dpaa2-linuxapp-gcc builds. The lack of this setting in meson
builds causes issues for 32-bit build, as the alternative code paths
have compiler warnings e.g. for i686 builds. Therefore we should align
the meson and make settings, setting the value to "true" by default and
overriding it to "false" for dpaa2-specific builds.
Fixes: 6ec78c2463ac ("build: add meson support for dpaaX platforms")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
config/arm/meson.build | 2 +-
config/meson.build | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/config/arm/meson.build b/config/arm/meson.build
index 5ad926eda..40dbc87f7 100644
--- a/config/arm/meson.build
+++ b/config/arm/meson.build
@@ -64,7 +64,7 @@ flags_dpaa2 = [
['RTE_CACHE_LINE_SIZE', 64],
['RTE_MAX_NUMA_NODES', 1],
['RTE_MAX_LCORE', 16],
- ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', 'n']]
+ ['RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', false]]
## Arm implementer ID (ARM DDI 0487C.a, Section G7.2.106, Page G7-5321)
impl_generic = ['Generic armv8', flags_generic, machine_args_generic]
diff --git a/config/meson.build b/config/meson.build
index 1531d9f0e..7a84fa8d0 100644
--- a/config/meson.build
+++ b/config/meson.build
@@ -78,6 +78,7 @@ dpdk_conf.set('RTE_EAL_ALLOW_INV_SOCKET_ID', get_option('allow_invalid_socket_id
# values which have defaults which may be overridden
dpdk_conf.set('RTE_MAX_VFIO_GROUPS', 64)
dpdk_conf.set('RTE_DRIVER_MEMPOOL_BUCKET_SIZE_KB', 64)
+dpdk_conf.set('RTE_LIBRTE_DPAA2_USE_PHYS_IOVA', true)
compile_time_cpuflags = []
if host_machine.cpu_family().startswith('x86')
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 6/8] examples/kni: fix dependency check for building with meson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
` (4 preceding siblings ...)
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 5/8] dpaa2: fix default IOVA build setting for meson builds Bruce Richardson
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 12:09 ` Ferruh Yigit
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 7/8] net/avp: fix 32-bit meson builds Bruce Richardson
` (2 subsequent siblings)
8 siblings, 1 reply; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
Rather than hard-coding the example app to be built only when a set of
conditions are met, we can simplify things by having the app built when
KNI library itself is available. That saves us duplicating the same set
of restrictions on both library and example app.
Fixes: 89f0711f9ddf ("examples: build some samples with meson")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
examples/kni/meson.build | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/examples/kni/meson.build b/examples/kni/meson.build
index 0443ab99b..791316394 100644
--- a/examples/kni/meson.build
+++ b/examples/kni/meson.build
@@ -6,9 +6,8 @@
# To build this example as a standalone application with an already-installed
# DPDK instance, use 'make'
-if host_machine.system() != 'linux'
- build = false
-endif
+# this app can be built if-and-only-if KNI library is buildable
+build = dpdk_conf.has('RTE_LIBRTE_KNI')
deps += ['kni', 'bus_pci']
sources = files(
'main.c'
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 7/8] net/avp: fix 32-bit meson builds
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
` (5 preceding siblings ...)
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 6/8] examples/kni: fix dependency check for building with meson Bruce Richardson
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 8/8] net/kni: fix check for meson build Bruce Richardson
2018-07-12 10:29 ` [dpdk-dev] [PATCH v2 0/8] Enable 32-bit native builds with meson Thomas Monjalon
8 siblings, 0 replies; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
When compiling with meson, extra warnings are enabled about casting from
integers to different size pointers. This triggers an error in AVP as the
addition of the offset to the pointer address causes the result to be a
64-bit integer which doesn't fit a 32-bit pointer. The fix here is to
explicitly indicate that the offset is of type "uintptr_t" which prevents
any promotion which would cause errors.
Fixes: c0ad584222b5 ("net/avp: add device initialization")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Allain Legacy <allain.legacy@windriver.com>
Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/net/avp/avp_ethdev.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/avp/avp_ethdev.c b/drivers/net/avp/avp_ethdev.c
index dc97e60e6..5e859c8dd 100644
--- a/drivers/net/avp/avp_ethdev.c
+++ b/drivers/net/avp/avp_ethdev.c
@@ -383,7 +383,7 @@ avp_dev_translate_address(struct rte_eth_dev *eth_dev,
(host_phys_addr < (map->phys_addr + map->length))) {
/* address is within this segment */
offset += (host_phys_addr - map->phys_addr);
- addr = RTE_PTR_ADD(addr, offset);
+ addr = RTE_PTR_ADD(addr, (uintptr_t)offset);
PMD_DRV_LOG(DEBUG, "Translating host physical 0x%" PRIx64 " to guest virtual 0x%p\n",
host_phys_addr, addr);
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* [dpdk-dev] [PATCH v2 8/8] net/kni: fix check for meson build
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
` (6 preceding siblings ...)
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 7/8] net/avp: fix 32-bit meson builds Bruce Richardson
@ 2018-07-03 10:31 ` Bruce Richardson
2018-07-03 12:10 ` Ferruh Yigit
2018-07-12 10:29 ` [dpdk-dev] [PATCH v2 0/8] Enable 32-bit native builds with meson Thomas Monjalon
8 siblings, 1 reply; 28+ messages in thread
From: Bruce Richardson @ 2018-07-03 10:31 UTC (permalink / raw)
To: dev; +Cc: Bruce Richardson
The configuration value indicating that KNI was build was incorrect,
causing the driver to never be built.
Fixes: 3479586fe636 ("net/kni: add to meson build")
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
---
drivers/net/kni/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/kni/meson.build b/drivers/net/kni/meson.build
index 77468188b..0f784c6d5 100644
--- a/drivers/net/kni/meson.build
+++ b/drivers/net/kni/meson.build
@@ -2,7 +2,7 @@
# Copyright(c) 2018 Intel Corporation
# this driver can be built if-and-only-if KNI library is buildable
-build = dpdk_conf.has('LIB_LIBRTE_KNI')
+build = dpdk_conf.has('RTE_LIBRTE_KNI')
allow_experimental_apis = true
sources = files('rte_eth_kni.c')
deps += 'kni'
--
2.17.1
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH v2 6/8] examples/kni: fix dependency check for building with meson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 6/8] examples/kni: fix dependency check for building with meson Bruce Richardson
@ 2018-07-03 12:09 ` Ferruh Yigit
0 siblings, 0 replies; 28+ messages in thread
From: Ferruh Yigit @ 2018-07-03 12:09 UTC (permalink / raw)
To: Bruce Richardson, dev
On 7/3/2018 11:31 AM, Bruce Richardson wrote:
> Rather than hard-coding the example app to be built only when a set of
> conditions are met, we can simplify things by having the app built when
> KNI library itself is available. That saves us duplicating the same set
> of restrictions on both library and example app.
>
> Fixes: 89f0711f9ddf ("examples: build some samples with meson")
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH v2 8/8] net/kni: fix check for meson build
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 8/8] net/kni: fix check for meson build Bruce Richardson
@ 2018-07-03 12:10 ` Ferruh Yigit
0 siblings, 0 replies; 28+ messages in thread
From: Ferruh Yigit @ 2018-07-03 12:10 UTC (permalink / raw)
To: Bruce Richardson, dev
On 7/3/2018 11:31 AM, Bruce Richardson wrote:
> The configuration value indicating that KNI was build was incorrect,
> causing the driver to never be built.
>
> Fixes: 3479586fe636 ("net/kni: add to meson build")
>
> Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
> Series-acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Ferruh Yigit <ferruh.yigit@intel.com>
^ permalink raw reply [flat|nested] 28+ messages in thread
* Re: [dpdk-dev] [PATCH v2 0/8] Enable 32-bit native builds with meson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
` (7 preceding siblings ...)
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 8/8] net/kni: fix check for meson build Bruce Richardson
@ 2018-07-12 10:29 ` Thomas Monjalon
8 siblings, 0 replies; 28+ messages in thread
From: Thomas Monjalon @ 2018-07-12 10:29 UTC (permalink / raw)
To: Bruce Richardson; +Cc: dev
03/07/2018 12:31, Bruce Richardson:
> This patchset enables building DPDK on 32-bit systems, and has been tested
> using debian 32-bit on x86 i.e. doing an "i686" build in the old build
> system.
>
> v2:
> - fixed LIB_LIBRTE_KNI to RTE_LIBRTE_KNI in examples/kni patch [Ferruh]
> - added patch to make same change in drivers/net/kni [Ferruh]
>
> Bruce Richardson (8):
> kni: disable for 32-bit meson builds
> bpf: fix 32-bit build support with meson
> net/sfc: disable for 32-bit builds
> build: disable pointer to int conversion warnings for 32-bit
> dpaa2: fix default IOVA build setting for meson builds
> examples/kni: fix dependency check for building with meson
> net/avp: fix 32-bit meson builds
> net/kni: fix check for meson build
Applied, thanks
^ permalink raw reply [flat|nested] 28+ messages in thread
end of thread, other threads:[~2018-07-12 10:29 UTC | newest]
Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-08 16:38 [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Bruce Richardson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 1/7] kni: disable for 32-bit meson builds Bruce Richardson
2018-07-02 23:45 ` Ferruh Yigit
2018-06-08 16:38 ` [dpdk-dev] [PATCH 2/7] bpf: fix 32-bit build support with meson Bruce Richardson
2018-06-14 11:57 ` Ananyev, Konstantin
2018-06-08 16:38 ` [dpdk-dev] [PATCH 3/7] net/sfc: disable for 32-bit builds Bruce Richardson
2018-06-08 17:10 ` Andrew Rybchenko
2018-06-08 16:38 ` [dpdk-dev] [PATCH 4/7] build: disable pointer to int conversion warnings for 32-bit Bruce Richardson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 5/7] dpaa2: fix default IOVA build setting for meson builds Bruce Richardson
2018-06-29 8:52 ` Hemant Agrawal
2018-06-08 16:38 ` [dpdk-dev] [PATCH 6/7] examples/kni: fix dependency check for building with meson Bruce Richardson
2018-07-02 23:47 ` Ferruh Yigit
2018-07-03 10:07 ` Bruce Richardson
2018-06-08 16:38 ` [dpdk-dev] [PATCH 7/7] net/avp: fix 32-bit meson builds Bruce Richardson
2018-06-08 16:58 ` Legacy, Allain
2018-06-29 8:53 ` [dpdk-dev] [PATCH 0/7] Enable 32-bit native builds with meson Hemant Agrawal
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 0/8] " Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 1/8] kni: disable for 32-bit meson builds Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 2/8] bpf: fix 32-bit build support with meson Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 3/8] net/sfc: disable for 32-bit builds Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 4/8] build: disable pointer to int conversion warnings for 32-bit Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 5/8] dpaa2: fix default IOVA build setting for meson builds Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 6/8] examples/kni: fix dependency check for building with meson Bruce Richardson
2018-07-03 12:09 ` Ferruh Yigit
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 7/8] net/avp: fix 32-bit meson builds Bruce Richardson
2018-07-03 10:31 ` [dpdk-dev] [PATCH v2 8/8] net/kni: fix check for meson build Bruce Richardson
2018-07-03 12:10 ` Ferruh Yigit
2018-07-12 10:29 ` [dpdk-dev] [PATCH v2 0/8] Enable 32-bit native builds with meson 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).