common/octeontx: enable build only on 64bit Linux
Subsystems (3)
PATCH 1/7 common/octeontx: enable build only on 64bit Linux
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
--- drivers/common/octeontx/meson.build | 6 ++++++ drivers/common/octeontx2/meson.build | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-)
drivers/common/octeontx/meson.build +6 -0
@@ -2,4 +2,10 @@ # Copyright(c) 2018 Cavium, Inc # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('octeontx_mbox.c')
drivers/common/octeontx2/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.17.1
PATCH 2/7 mempool/octeontx: enable build only on 64bit Linux
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
--- drivers/mempool/octeontx/meson.build | 5 +++-- drivers/mempool/octeontx2/meson.build | 9 ++------- 2 files changed, 5 insertions(+), 9 deletions(-)
drivers/mempool/octeontx/meson.build +3 -2
@@ -1,9 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = files('octeontx_fpavf.c',
drivers/mempool/octeontx2/meson.build +2 -7
@@ -2,14 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.17.1
PATCH 3/7 net/octeontx: enable build only on 64bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
--- drivers/net/octeontx/meson.build | 4 ++-- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/net/thunderx/meson.build | 4 ++-- 3 files changed, 6 insertions(+), 12 deletions(-)
drivers/net/octeontx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/net/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/net/thunderx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.17.1
PATCH 4/7 crypto/octeontx: enable build only on 64bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
--- drivers/crypto/octeontx/meson.build | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
drivers/crypto/octeontx/meson.build +5 -2
@@ -1,8 +1,11 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc -if not is_linux +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on Linux' + reason = 'only supported on 64-bit Linux' + subdir_done() endif deps += ['bus_pci']
Signature · 1 line
2.17.1
PATCH 5/7 event/octeontx: enable build only on 64bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
--- drivers/event/octeontx/meson.build | 6 ++++++ drivers/event/octeontx2/meson.build | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-)
drivers/event/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('ssovf_worker.c', 'ssovf_evdev.c', 'ssovf_evdev_selftest.c',
drivers/event/octeontx2/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.17.1
PATCH 6/7 raw/octeontx2: enable build only for 64bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
--- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)
drivers/raw/octeontx2_dma/meson.build +6 -4
@@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag)
Signature · 1 line
2.17.1
Re: [dpdk-dev] [PATCH 6/7] raw/octeontx2: enable build only for 64bit Linux
Quoted 36 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>--- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-)drivers/raw/octeontx2_dma/meson.build +6
-5@@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag) --
Quoted 2 lines
2.17.1
PATCH 7/7 compress/octeontx: enable build only for 64bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
--- drivers/compress/octeontx/meson.build | 6 ++++++ 1 file changed, 6 insertions(+)
drivers/compress/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['mempool_octeontx', 'bus_pci']
Signature · 1 line
2.17.1
Re: [dpdk-dev] [PATCH 7/7] compress/octeontx: enable build only for 64bit Linux
Quoted 35 lines
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Thursday, February 25, 2021 10:33 PM
To: Jerin Jacob Kollanukkaran <[email protected]>; Ashish Gupta <[email protected]>; Fiona Trahe <[email protected]>
Cc: [email protected]; Pavan Nikhilesh Bhagavatula <[email protected]>
Subject: [dpdk-dev] [PATCH 7/7] compress/octeontx: enable build only for 64bit LinuxFrom: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>--- drivers/compress/octeontx/meson.build | 6 ++++++ 1 file changed, 6 insertions(+)drivers/compress/octeontx/meson.build +6
-0@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes +=
Quoted 3 lines
include_directories('include')deps += ['mempool_octeontx', 'bus_pci'] --
2.17.1
Quoted 6 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>
Series Acked-by: Jerin Jacob <[email protected]>
Quoted 39 lines
--- drivers/common/octeontx/meson.build | 6 ++++++ drivers/common/octeontx2/meson.build | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-)drivers/common/octeontx/meson.build +6
-0@@ -2,4 +2,10 @@ # Copyright(c) 2018 Cavium, Inc # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('octeontx_mbox.c')drivers/common/octeontx2/meson.build +2
-3@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif --2.17.1
24/03/2021 11:55, Jerin Jacob:
Quoted 10 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
and applied.
25/03/2021 11:42, Thomas Monjalon:
Quoted 15 lines
24/03/2021 11:55, Jerin Jacob:
Quoted 9 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
Quoted 5 lines
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?
Quoted 20 lines · Thomas Monjalon
25/03/2021 11:42, Thomas Monjalon:
Quoted 19 lines
24/03/2021 11:55, Jerin Jacob:
Quoted 9 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
Quoted 8 lines
Quoted 1 line
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?
In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."
25/03/2021 11:58, Kinsella, Ray:
Quoted 29 lines · Thomas Monjalon
Quoted 20 lines
25/03/2021 11:42, Thomas Monjalon:
Quoted 19 lines
24/03/2021 11:55, Jerin Jacob:
Quoted 9 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
Quoted 8 lines
Quoted 1 line
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?
Quoted 4 lines
In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."
So the patches should wait 21.11.
Everybody agree?
Quoted 31 lines · Thomas Monjalon
25/03/2021 11:58, Kinsella, Ray:
Quoted 29 lines · Thomas Monjalon
Quoted 28 lines
25/03/2021 11:42, Thomas Monjalon:
Quoted 15 lines
24/03/2021 11:55, Jerin Jacob:
Quoted 9 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
Quoted 5 lines
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?
Quoted 7 lines
Quoted 4 lines
In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."So the patches should wait 21.11.
Everybody agree?
Looks good to me to postpone.
@Ray Kinsella @Thomas Monjalon @McDaniel, Timothy @David Marchand @Neil Horman
Currently, I merged DLB v1 driver removal patch to next-eventdev. Is this ABI breakge[1]?
http://patches.dpdk.org/project/dpdk/patch/[email protected]/
[1]
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."
Quoted 47 lines · Jerin Jacob
Quoted 31 lines · Thomas Monjalon
25/03/2021 11:58, Kinsella, Ray:
Quoted 29 lines · Thomas Monjalon
Quoted 28 lines
25/03/2021 11:42, Thomas Monjalon:
Quoted 15 lines
24/03/2021 11:55, Jerin Jacob:
Quoted 9 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
Quoted 5 lines
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?Quoted 7 lines
Quoted 4 lines
In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."So the patches should wait 21.11.
Everybody agree?Looks good to me to postpone.
@Ray Kinsella @Thomas Monjalon @McDaniel, Timothy @David Marchand @Neil Horman
Currently, I merged DLB v1 driver removal patch to next-eventdev. Is this ABI breakge[1]?
Quoted 7 lines
http://patches.dpdk.org/project/dpdk/patch/[email protected]/
[1]
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."
+1
Quoted 53 lines · Ray
Quoted 49 lines · Jerin Jacob
Quoted 31 lines · Thomas Monjalon
25/03/2021 11:58, Kinsella, Ray:
Quoted 29 lines · Thomas Monjalon
Quoted 28 lines
25/03/2021 11:42, Thomas Monjalon:
Quoted 15 lines
24/03/2021 11:55, Jerin Jacob:
Quoted 9 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
Quoted 5 lines
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?Quoted 7 lines
Quoted 4 lines
In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."So the patches should wait 21.11.
Everybody agree?Looks good to me to postpone.
@Ray Kinsella @Thomas Monjalon @McDaniel, Timothy @David Marchand @Neil Horman
Currently, I merged DLB v1 driver removal patch to next-eventdev. Is this ABI breakge[1]?
http://patches.dpdk.org/project/dpdk/patch/[email protected]/
Quoted 7 lines
Quoted 5 lines
[1]
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."+1
Is +1 for not to remove the dlb driver or remove it?
Quoted 60 lines · Jerin Jacob
Quoted 59 lines · Ray
Quoted 54 lines · Jerin Jacob
Quoted 31 lines · Thomas Monjalon
25/03/2021 11:58, Kinsella, Ray:
Quoted 29 lines · Thomas Monjalon
Quoted 28 lines
25/03/2021 11:42, Thomas Monjalon:
Quoted 15 lines
24/03/2021 11:55, Jerin Jacob:
Quoted 9 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
Quoted 5 lines
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?Quoted 7 lines
Quoted 4 lines
In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."So the patches should wait 21.11.
Everybody agree?Looks good to me to postpone.
@Ray Kinsella @Thomas Monjalon @McDaniel, Timothy @David Marchand @Neil Horman
Currently, I merged DLB v1 driver removal patch to next-eventdev. Is this ABI breakge[1]?
http://patches.dpdk.org/project/dpdk/patch/[email protected]/
[1]
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."
Quoted 4 lines
Quoted 1 line
+1
Is +1 for not to remove the dlb driver or remove it?
You'll note the original reply pointing at the ABI Policy was from myself. So I would be in favor of retention until 21.11.
Thats said...
We should think about making the rules less strict for 32bit in future, from 21.11 onwards perhaps. How many OS Vendors are shipping 32bit OSs these days for example?
Quoted 69 lines · Ray
Quoted 60 lines · Jerin Jacob
Quoted 59 lines · Ray
Quoted 54 lines · Jerin Jacob
Quoted 31 lines · Thomas Monjalon
25/03/2021 11:58, Kinsella, Ray:
Quoted 29 lines · Thomas Monjalon
Quoted 28 lines
25/03/2021 11:42, Thomas Monjalon:
Quoted 15 lines
24/03/2021 11:55, Jerin Jacob:
Quoted 9 lines · On Thu, Feb 25, 2021 at 10:33 PM <[email protected]> wrote:
Quoted 6 lines
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Series Acked-by: Jerin Jacob <[email protected]>
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
Quoted 5 lines
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?Quoted 7 lines
Quoted 4 lines
In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."So the patches should wait 21.11.
Everybody agree?Looks good to me to postpone.
@Ray Kinsella @Thomas Monjalon @McDaniel, Timothy @David Marchand @Neil Horman
Currently, I merged DLB v1 driver removal patch to next-eventdev. Is this ABI breakge[1]?
http://patches.dpdk.org/project/dpdk/patch/[email protected]/
[1]
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."Quoted 4 lines
Quoted 1 line
+1
Is +1 for not to remove the dlb driver or remove it?
Quoted 7 lines
You'll note the original reply pointing at the ABI Policy was from myself. So I would be in favor of retention until 21.11.
Thats said...
We should think about making the rules less strict for 32bit in future, from 21.11 onwards perhaps. How many OS Vendors are shipping 32bit OSs these days for example?
Agree on 32bit.
The DLB driver removal patch from @McDaniel, Timothy
http://patches.dpdk.org/project/dpdk/patch/[email protected]/
is deleting the complete driver. So it does not look like it is updating the minimum HW requirements
as mentioned in the policy.
So IMO, it is OK to accept his patch for 21.05(ie. remove the driver). Let me know if there is any objection on this?
25/03/2021 13:46, Jerin Jacob:
Quoted 22 lines · Thomas Monjalon
Quoted 21 lines
25/03/2021 11:58, Kinsella, Ray:
Quoted 20 lines · Thomas Monjalon
Quoted 9 lines
25/03/2021 11:42, Thomas Monjalon:
Quoted 8 lines
I've reorganized the commits per family of drivers, so it makes more sense than grouping per driver class with "common/octeontx" for title for all:
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
Quoted 8 lines
Quoted 1 line
and applied.
Actually not applied yet.
I'm not sure what to do for the ABI check which is broken because some drivers are not compiled anymore in 32-bit build. I've workarounded locally by removing the dump files in the reference build. Should we add an exception in libabigail.abignore?In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
Quoted 7 lines
Quoted 5 lines
Quoted 2 lines
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."So the patches should wait 21.11.
Everybody agree?Looks good to me to postpone.
The v2 is waiting in patchwork with the status "Deferred":
https://patches.dpdk.org/project/dpdk/list/?series=15885&state=*
Quoted 5 lines · Thomas Monjalon
Quoted 5 lines
Quoted 5 lines
Quoted 4 lines
In the past we said that depreciating HW support would be considered to be same as an ABI Breakage.
From the policy ...
"Updates to the minimum hardware requirements, which drop support for hardware which was previously supported, should be treated as an ABI change."
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
So the patches should wait 21.11.
Everybody agree?Looks good to me to postpone.
The v2 is waiting in patchwork with the status "Deferred":
https://patches.dpdk.org/project/dpdk/list/?series=15885&state=*
We need a deprecation notice.
Signature · 1 line
David Marchand
v2 cover octeontx build only on 64-bit Linux
In reply to [email protected]This is a reorg of the patches from Pavan.
It has been discussed that it should wait for DPDK 21.11 for ABI compatibility reason.
Pavan Nikhilesh (3):
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
drivers/common/octeontx/meson.build | 6 ++++++ drivers/common/octeontx2/meson.build | 4 ++-- drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++-- drivers/event/octeontx/meson.build | 6 ++++++ drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx/meson.build | 5 +++-- drivers/mempool/octeontx2/meson.build | 9 ++------- drivers/net/octeontx/meson.build | 4 ++-- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/net/thunderx/meson.build | 4 ++-- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 12 files changed, 44 insertions(+), 31 deletions(-)
Signature · 1 line
2.30.1
PATCH v2 1/3 net/thunderx: enable build only on 64-bit Linux
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64-bit Linux.
--- drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/thunderx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.30.1
PATCH v3 1/3 net/thunderx: enable build only on 64-bit Linux
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64-bit Linux.
--- drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/thunderx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.17.1
PATCH v3 2/3 common/octeontx: enable build only on 64-bit Linux
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx/meson.build | 4 ++-- drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++++ drivers/event/octeontx/meson.build | 6 ++++++ drivers/mempool/octeontx/meson.build | 5 +++-- drivers/net/octeontx/meson.build | 4 ++-- 6 files changed, 26 insertions(+), 6 deletions(-)
drivers/common/octeontx/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(c) 2018 Cavium, Inc # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/compress/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['mempool_octeontx', 'bus_pci']
drivers/crypto/octeontx/meson.build +7 -0
@@ -1,5 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif deps += ['bus_pci'] deps += ['bus_vdev']
drivers/event/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files( 'ssovf_worker.c', 'ssovf_evdev.c',
drivers/mempool/octeontx/meson.build +3 -2
@@ -1,9 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = files(
drivers/net/octeontx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.17.1
PATCH v3 3/3 common/octeontx2: enable build only on 64-bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx2/meson.build | 10 ++-------- drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx2/meson.build | 9 ++------- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 5 files changed, 14 insertions(+), 29 deletions(-)
drivers/common/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/event/octeontx2/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/mempool/octeontx2/meson.build +2 -7
@@ -2,14 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/net/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/raw/octeontx2_dma/meson.build +6 -4
@@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag)
Signature · 1 line
2.17.1
Re: [dpdk-dev] [PATCH v3 1/3] net/thunderx: enable build only on 64-bit Linux
In reply to [email protected]Quoted 6 lines · On 8/23/2021 8:54 PM, [email protected] wrote:
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64-bit Linux.
Signed-off-by Pavan Nikhilesh <[email protected]>Acked-by Jerin Jacob <[email protected]>
patches looks good, but can you please add more details related to the dependency in the commit log?
PATCH v4 1/3 net/thunderx: enable build only on 64-bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel AF(Admin fuction) driver dependency, only enable build for 64-bit Linux.
---
v4 Changes:
- Update commit message regarding dependency on AF driver.
drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/thunderx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
--
2.17.1
PATCH v4 2/3 common/octeontx: enable build only on 64-bit Linux
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel AF(Admin fuction) driver dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx/meson.build | 4 ++-- drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++++ drivers/event/octeontx/meson.build | 6 ++++++ drivers/mempool/octeontx/meson.build | 5 +++-- drivers/net/octeontx/meson.build | 4 ++-- 6 files changed, 26 insertions(+), 6 deletions(-)
drivers/common/octeontx/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(c) 2018 Cavium, Inc # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/compress/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['mempool_octeontx', 'bus_pci']
drivers/crypto/octeontx/meson.build +7 -0
@@ -1,5 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif deps += ['bus_pci'] deps += ['bus_vdev']
drivers/event/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files( 'ssovf_worker.c', 'ssovf_evdev.c',
drivers/mempool/octeontx/meson.build +3 -2
@@ -1,9 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = files(
drivers/net/octeontx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.17.1
PATCH v4 3/3 common/octeontx2: enable build only on 64-bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel AF(Admin Fuction) driver dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx2/meson.build | 10 ++-------- drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx2/meson.build | 9 ++------- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 5 files changed, 14 insertions(+), 29 deletions(-)
drivers/common/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/event/octeontx2/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/mempool/octeontx2/meson.build +2 -7
@@ -2,14 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/net/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/raw/octeontx2_dma/meson.build +6 -4
@@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag)
Signature · 1 line
2.17.1
PATCH v5 1/3 net/thunderx: enable build only on 64-bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel AF(Admin function) driver dependency, only enable build for 64-bit Linux.
---
v5 Changes
- s/fuction/function.
v4 Changes:
- Update commit message regarding dependency on AF driver.
drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/thunderx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
--
2.17.1
PATCH v5 2/3 common/octeontx: enable build only on 64-bit Linux
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel AF(Admin function) driver dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx/meson.build | 4 ++-- drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++++ drivers/event/octeontx/meson.build | 6 ++++++ drivers/mempool/octeontx/meson.build | 5 +++-- drivers/net/octeontx/meson.build | 4 ++-- 6 files changed, 26 insertions(+), 6 deletions(-)
drivers/common/octeontx/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(c) 2018 Cavium, Inc # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/compress/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['mempool_octeontx', 'bus_pci']
drivers/crypto/octeontx/meson.build +7 -0
@@ -1,5 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif deps += ['bus_pci'] deps += ['bus_vdev']
drivers/event/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files( 'ssovf_worker.c', 'ssovf_evdev.c',
drivers/mempool/octeontx/meson.build +3 -2
@@ -1,9 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = files(
drivers/net/octeontx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
--
2.17.1
PATCH v5 3/3 common/octeontx2: enable build only on 64-bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel AF(Admin Function) driver dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx2/meson.build | 10 ++-------- drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx2/meson.build | 9 ++------- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 5 files changed, 14 insertions(+), 29 deletions(-)
drivers/common/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/event/octeontx2/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/mempool/octeontx2/meson.build +2 -7
@@ -2,14 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/net/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/raw/octeontx2_dma/meson.build +6 -4
@@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag)
--
2.17.1
Re: [dpdk-dev] [PATCH v5 1/3] net/thunderx: enable build only on 64-bit Linux
In reply to [email protected]Quoted 5 lines · On 10/4/2021 6:56 AM, [email protected] wrote:
From: Pavan Nikhilesh <[email protected]>
Due to Linux kernel AF(Admin function) driver dependency, only enable build for 64-bit Linux.
Hi Pavan,
Isn't it possible to provide a commit log in the kernel side etc, that let others to verify why only 64 bit is required, or if someone want to support 32bit that may help them to investigate the source of the restriction.
Quoted 31 lines
Signed-off-by Pavan Nikhilesh <[email protected]>Acked-by Jerin Jacob <[email protected]>---
v5 Changes
- s/fuction/function.v4 Changes:
- Update commit message regarding dependency on AF driver.drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/thunderx/meson.build +2
-3@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif --2.17.1
PATCH v6 1/3 net/thunderx: enable build only on 64-bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Since AARCH32 extension is not implemented on thunderx family, only enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, only enable build for Linux.
---
v6 Changes:
- Update commit log to describe why 32bit is not supported. v5 Changes:
- s/fuction/function.
v4 Changes:
- Update commit message regarding dependency on AF driver.
drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/thunderx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
--
2.17.1
PATCH v6 2/3 common/octeontx: enable build only on 64-bit Linux
From: Pavan Nikhilesh <[email protected]>
Since AARCH32 extension is not implemented on octeontx family, only enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx/meson.build | 4 ++-- drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++++ drivers/event/octeontx/meson.build | 6 ++++++ drivers/mempool/octeontx/meson.build | 5 +++-- drivers/net/octeontx/meson.build | 4 ++-- 6 files changed, 26 insertions(+), 6 deletions(-)
drivers/common/octeontx/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(c) 2018 Cavium, Inc # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/compress/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['mempool_octeontx', 'bus_pci']
drivers/crypto/octeontx/meson.build +7 -0
@@ -1,5 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif deps += ['bus_pci'] deps += ['bus_vdev']
drivers/event/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files( 'ssovf_worker.c', 'ssovf_evdev.c',
drivers/mempool/octeontx/meson.build +3 -2
@@ -1,9 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = files(
drivers/net/octeontx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.17.1
Re: [dpdk-dev] [PATCH v6 2/3] common/octeontx: enable build only on 64-bit Linux
Quoted 16 lines
-----Original Message-----
From: [email protected] <[email protected]>
Sent: Friday, October 15, 2021 1:27 AM
To: [email protected]; Jerin Jacob Kollanukkaran <[email protected]>; Harman Kalra <[email protected]>; Ashish Gupta <[email protected]>; Fiona Trahe <[email protected]>; Anoob Joseph <[email protected]>
Cc: [email protected]; Pavan Nikhilesh Bhagavatula <[email protected]>
Subject: [dpdk-dev] [PATCH v6 2/3] common/octeontx: enable build only on 64-bit LinuxFrom: Pavan Nikhilesh <[email protected]>
Quoted 8 lines
Since AARCH32 extension is not implemented on octeontx family, only enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, only enable build for 64-bit Linux.Signed-off-by Pavan Nikhilesh <[email protected]>Acked-by Jerin Jacob <[email protected]>---
Thanks
Harman
Quoted 110 lines
drivers/common/octeontx/meson.build | 4 ++-- drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++++ drivers/event/octeontx/meson.build | 6 ++++++ drivers/mempool/octeontx/meson.build | 5 +++-- drivers/net/octeontx/meson.build | 4 ++-- 6 files changed, 26 insertions(+), 6 deletions(-)drivers/common/octeontx/meson.build +2
-2@@ -2,9 +2,9 @@ # Copyright(c) 2018 Cavium, Inc # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endifdrivers/compress/octeontx/meson.build +6
-0@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes +=
include_directories('include')deps += ['mempool_octeontx', 'bus_pci'] diff -- git a/drivers/crypto/octeontx/meson.build b/drivers/crypto/octeontx/meson.build
index244b16230e..bc6187e1cf100644drivers/crypto/octeontx/meson.build +7
-0@@ -1,5 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif deps += ['bus_pci'] deps += ['bus_vdev']drivers/event/octeontx/meson.build +6
-0@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files( 'ssovf_worker.c', 'ssovf_evdev.c',drivers/mempool/octeontx/meson.build +3
-2@@ -1,9 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = files(drivers/net/octeontx/meson.build +2
-3@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif --2.17.1
PATCH v6 3/3 common/octeontx2: enable build only on 64-bit Linux
In reply to [email protected]From: Pavan Nikhilesh <[email protected]>
Since AARCH32 extension is not implemented on octeontx2 family, only enable build for 64bit.
Due to Linux kernel AF(Admin Function) driver dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx2/meson.build | 10 ++-------- drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx2/meson.build | 9 ++------- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 5 files changed, 14 insertions(+), 29 deletions(-)
drivers/common/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/event/octeontx2/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/mempool/octeontx2/meson.build +2 -7
@@ -2,14 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/net/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/raw/octeontx2_dma/meson.build +6 -4
@@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag)
Signature · 1 line
2.17.1
Re: [dpdk-dev] [PATCH v6 1/3] net/thunderx: enable build only on 64-bit Linux
In reply to [email protected]Quoted 7 lines · On 10/14/2021 8:56 PM, [email protected] wrote:
From: Pavan Nikhilesh <[email protected]>
Since AARCH32 extension is not implemented on thunderx family, only enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, only enable build for Linux.
Hi Pavan,
Perhaps this patch took more time than it should, but according Jerin's description the problem is SoC can't run 32bit applications.
Why do you still mention from the kernel driver dependency? It looks like that dependency is not reason to not compile 32 bit app, am I missing something?
Quoted 32 lines
Signed-off-by Pavan Nikhilesh <[email protected]>Acked-by Jerin Jacob <[email protected]>---
v6 Changes:
- Update commit log to describe why 32bit is not supported. v5 Changes:
- s/fuction/function.
v4 Changes:
- Update commit message regarding dependency on AF driver.drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)drivers/net/thunderx/meson.build +2
-3@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif --2.17.1
Re: [dpdk-dev] [EXT] Re: [PATCH v6 1/3] net/thunderx: enable build only on 64-bit Linux
Quoted 28 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Ferruh Yigit
Sent: Friday, October 15, 2021 4:09 PM
To: Pavan Nikhilesh Bhagavatula <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Maciej Czekaj [C] <[email protected]>
Cc: [email protected]
Subject: [EXT] Re: [dpdk-dev] [PATCH v6 1/3] net/thunderx: enable build only on 64-bit LinuxExternal Email
----------------------------------------------------------------------
Quoted 3 lines · On 10/14/2021 8:56 PM, [email protected] wrote:
From: Pavan Nikhilesh <[email protected]>
Since AARCH32 extension is not implemented on thunderx family,
only
Quoted 2 lines
enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, onlyenable
Quoted 2 lines
build for Linux.
Hi Pavan,
Quoted 8 lines
Perhaps this patch took more time than it should, but according Jerin's description the problem is SoC can't run 32bit applications.
Why do you still mention from the kernel driver dependency? It looks like
that dependency is not reason to not compile 32 bit app, am I missing something?
Since DPDK runs on FreeBSD and Windows and AF driver is absent for those We are disabling this driver non-Linux compilations too.
Quoted 33 lines
Quoted 10 lines
Signed-off-by Pavan Nikhilesh <[email protected]>Acked-by Jerin Jacob <[email protected]>---
v6 Changes:
- Update commit log to describe why 32bit is not supported. v5 Changes:
- s/fuction/function.
v4 Changes:
- Update commit message regarding dependency on AF driver.Review
Quoted 4 lines
drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/drivers/net/thunderx/meson.build
Quoted 18 lines
index
4bbcea7f93..da665bd76f100644drivers/net/thunderx/meson.build +2
-3@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif --2.17.1
Re: [dpdk-dev] [EXT] Re: [PATCH v6 1/3] net/thunderx: enable build only on 64-bit Linux
Quoted 31 lines · Pavan Nikhilesh Bhagavatula
Quoted 31 lines
-----Original Message-----
From: dev <[email protected]> On Behalf Of Ferruh Yigit
Sent: Friday, October 15, 2021 4:09 PM
To: Pavan Nikhilesh Bhagavatula <[email protected]>; Jerin Jacob Kollanukkaran <[email protected]>; Maciej Czekaj [C] <[email protected]>
Cc: [email protected]
Subject: [EXT] Re: [dpdk-dev] [PATCH v6 1/3] net/thunderx: enable build only on 64-bit LinuxExternal Email
----------------------------------------------------------------------
Quoted 3 lines · On 10/14/2021 8:56 PM, [email protected] wrote:
From: Pavan Nikhilesh <[email protected]>
Since AARCH32 extension is not implemented on thunderx family,
only
Quoted 2 lines
enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, onlyenable
Quoted 2 lines
build for Linux.
Hi Pavan,
Perhaps this patch took more time than it should, but according Jerin's description the problem is SoC can't run 32bit applications.
Quoted 9 lines
Quoted 5 lines
Why do you still mention from the kernel driver dependency? It looks like
that dependency is not reason to not compile 32 bit app, am I missing something?Since DPDK runs on FreeBSD and Windows and AF driver is absent for those We are disabling this driver non-Linux compilations too.
Ah, it doesn't only add 'RTE_ARCH_64' requirement, also reduces the support to Linux, so commit log makes sense. Thanks.
Quoted 34 lines
Quoted 33 lines
Quoted 10 lines
Signed-off-by Pavan Nikhilesh <[email protected]>Acked-by Jerin Jacob <[email protected]>---
v6 Changes:
- Update commit log to describe why 32bit is not supported. v5 Changes:
- s/fuction/function.
v4 Changes:
- Update commit message regarding dependency on AF driver.Review
Quoted 4 lines
drivers/net/thunderx/meson.build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)(quoted diff) +0
-0b/drivers/net/thunderx/meson.build
Quoted 18 lines
index
4bbcea7f93..da665bd76f100644drivers/net/thunderx/meson.build +2
-3@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif --2.17.1
Re: [dpdk-dev] [PATCH v6 1/3] net/thunderx: enable build only on 64-bit Linux
In reply to [email protected]Quoted 9 lines · On 10/14/2021 8:56 PM, [email protected] wrote:
From: Pavan Nikhilesh <[email protected]>
Since AARCH32 extension is not implemented on thunderx family, only enable build for 64bit.
Due to Linux kernel AF(Admin function) driver dependency, only enable build for Linux.Signed-off-by Pavan Nikhilesh <[email protected]>Acked-by Jerin Jacob <[email protected]>
Series applied to dpdk-next-net/main, thanks.
PATCH v2 2/3 common/octeontx: enable build only on 64-bit Linux
In reply to Thomas MonjalonFrom: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx/meson.build | 6 ++++++ drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++-- drivers/event/octeontx/meson.build | 6 ++++++ drivers/mempool/octeontx/meson.build | 5 +++-- drivers/net/octeontx/meson.build | 4 ++-- 6 files changed, 28 insertions(+), 6 deletions(-)
drivers/common/octeontx/meson.build +6 -0
@@ -2,4 +2,10 @@ # Copyright(c) 2018 Cavium, Inc # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('octeontx_mbox.c')
drivers/compress/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('otx_zip.c', 'otx_zip_pmd.c') includes += include_directories('include') deps += ['mempool_octeontx', 'bus_pci']
drivers/crypto/octeontx/meson.build +5 -2
@@ -1,8 +1,11 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2018 Cavium, Inc -if not is_linux +# + +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on Linux' + reason = 'only supported on 64-bit Linux' + subdir_done() endif deps += ['bus_pci']
drivers/event/octeontx/meson.build +6 -0
@@ -1,6 +1,12 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + sources = files('ssovf_worker.c', 'ssovf_evdev.c', 'ssovf_evdev_selftest.c',
drivers/mempool/octeontx/meson.build +3 -2
@@ -1,9 +1,10 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' + subdir_done() endif sources = files('octeontx_fpavf.c',
drivers/net/octeontx/meson.build +2 -2
@@ -1,9 +1,9 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright(c) 2017 Cavium, Inc -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' + reason = 'only supported on 64-bit Linux' subdir_done() endif
Signature · 1 line
2.30.1
PATCH v2 3/3 common/octeontx2: enable build only on 64-bit Linux
In reply to Thomas MonjalonFrom: Pavan Nikhilesh <[email protected]>
Due to Linux kernel dependency, only enable build for 64-bit Linux.
--- drivers/common/octeontx2/meson.build | 4 ++-- drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx2/meson.build | 9 ++------- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 5 files changed, 14 insertions(+), 23 deletions(-)
drivers/common/octeontx2/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/event/octeontx2/meson.build +2 -2
@@ -2,9 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if not dpdk_conf.get('RTE_ARCH_64') +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/mempool/octeontx2/meson.build +2 -7
@@ -2,14 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/net/octeontx2/meson.build +2 -8
@@ -2,15 +2,9 @@ # Copyright(C) 2019 Marvell International Ltd. # -if is_windows +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') build = false - reason = 'not supported on Windows' - subdir_done() -endif - -if not dpdk_conf.get('RTE_ARCH_64') - build = false - reason = 'only supported on 64-bit' + reason = 'only supported on 64-bit Linux' subdir_done() endif
drivers/raw/octeontx2_dma/meson.build +6 -4
@@ -2,14 +2,16 @@ # Copyright(C) 2019 Marvell International Ltd. # +if not is_linux or not dpdk_conf.get('RTE_ARCH_64') + build = false + reason = 'only supported on 64-bit Linux' + subdir_done() +endif + deps += ['bus_pci', 'common_octeontx2', 'rawdev'] sources = files('otx2_dpi_rawdev.c', 'otx2_dpi_msg.c', 'otx2_dpi_test.c') extra_flags = [] -# This integrated controller runs only on a arm64 machine, remove 32bit warnings -if not dpdk_conf.get('RTE_ARCH_64') - extra_flags += ['-Wno-int-to-pointer-cast', '-Wno-pointer-to-int-cast'] -endif foreach flag: extra_flags if cc.has_argument(flag)
Signature · 1 line
2.30.1
Re: [dpdk-dev] [PATCH 21.11 v2 0/3] octeontx build only on 64-bit Linux
In reply to Thomas MonjalonQuoted 10 lines · Thomas Monjalon
This is a reorg of the patches from Pavan.
It has been discussed that it should wait for DPDK 21.11 for ABI compatibility reason.Pavan Nikhilesh (3):
net/thunderx: enable build only on 64-bit Linux common/octeontx: enable build only on 64-bit Linux common/octeontx2: enable build only on 64-bit Linux
Quoted 13 lines
drivers/common/octeontx/meson.build | 6 ++++++ drivers/common/octeontx2/meson.build | 4 ++-- drivers/compress/octeontx/meson.build | 6 ++++++ drivers/crypto/octeontx/meson.build | 7 +++++-- drivers/event/octeontx/meson.build | 6 ++++++ drivers/event/octeontx2/meson.build | 4 ++-- drivers/mempool/octeontx/meson.build | 5 +++-- drivers/mempool/octeontx2/meson.build | 9 ++------- drivers/net/octeontx/meson.build | 4 ++-- drivers/net/octeontx2/meson.build | 10 ++-------- drivers/net/thunderx/meson.build | 4 ++-- drivers/raw/octeontx2_dma/meson.build | 10 ++++++---- 12 files changed, 44 insertions(+), 31 deletions(-)
There were a couple of cleanups (indent etc..) and changes in meson files. This series does not apply cleanly on the main branch.
Could you rebase it?
I noticed that the net/cnxk driver does not have this check, but it is disabled anyway since it depends on common/cnxk.
Is it worth adding the check for consistency?
Signature · 1 line
David Marchand