crypto/octeontx2: enable driver compilation on freebsd
Checks
Commit Message
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
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
>
@@ -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