diff mbox series

crypto/octeontx2: enable driver compilation on freebsd

Message ID 20210225122802.7029-1-pbhagavatula@marvell.com (mailing list archive)
State Rejected
Delegated to: akhil goyal
Headers show
Series crypto/octeontx2: enable driver compilation on freebsd | expand

Checks

Context Check Description
ci/iol-testing success Testing PASS
ci/iol-mellanox-Functional success Functional Testing PASS
ci/iol-mellanox-Performance success Performance Testing PASS
ci/intel-Testing success Testing PASS
ci/iol-intel-Performance success Performance Testing PASS
ci/Intel-compilation success Compilation OK
ci/iol-intel-Functional success Functional Testing PASS
ci/github-robot success github build: passed
ci/travis-robot fail travis build: failed
ci/checkpatch success coding style OK

Commit Message

Pavan Nikhilesh Bhagavatula Feb. 25, 2021, 12:28 p.m. UTC
From: Pavan Nikhilesh <pbhagavatula@marvell.com>

Enable compilation on freebsd.

Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
---
 drivers/crypto/octeontx2/meson.build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jerin Jacob Feb. 25, 2021, 12:36 p.m. UTC | #1
On Thu, Feb 25, 2021 at 5:58 PM <pbhagavatula@marvell.com> wrote:
>
> From: Pavan Nikhilesh <pbhagavatula@marvell.com>
>
> Enable compilation on freebsd.

Since DPDK octeontx2 drivers have a dependency on Linux kernel driver,
I think, in order to simply this stuff, we can completely remove the
FreeBSD support in octeontx and octeontx2 drivers.

Since we are supporting x86-64 bit compilation support, that would
enable others contribute without have an octeontx2 machine.
We may not need FreeBSD support to establish this support.

>
> Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com>
> ---
>  drivers/crypto/octeontx2/meson.build | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/crypto/octeontx2/meson.build b/drivers/crypto/octeontx2/meson.build
> index 283818e5d..063f53253 100644
> --- a/drivers/crypto/octeontx2/meson.build
> +++ b/drivers/crypto/octeontx2/meson.build
> @@ -1,9 +1,9 @@
>  # SPDX-License-Identifier: BSD-3-Clause
>  # Copyright (C) 2019 Marvell International Ltd.
>
> -if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
> +if not dpdk_conf.get('RTE_ARCH_64')
>         build = false
> -       reason = 'only supported on 64-bit Linux'
> +       reason = 'only supported on 64-bit arch'
>         subdir_done()
>  endif
>
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/drivers/crypto/octeontx2/meson.build b/drivers/crypto/octeontx2/meson.build
index 283818e5d..063f53253 100644
--- a/drivers/crypto/octeontx2/meson.build
+++ b/drivers/crypto/octeontx2/meson.build
@@ -1,9 +1,9 @@ 
 # SPDX-License-Identifier: BSD-3-Clause
 # Copyright (C) 2019 Marvell International Ltd.
 
-if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
+if not dpdk_conf.get('RTE_ARCH_64')
 	build = false
-	reason = 'only supported on 64-bit Linux'
+	reason = 'only supported on 64-bit arch'
 	subdir_done()
 endif