DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH] crypto/octeontx2: enable driver compilation on freebsd
@ 2021-02-25 12:28 pbhagavatula
  2021-02-25 12:36 ` Jerin Jacob
  0 siblings, 1 reply; 2+ messages in thread
From: pbhagavatula @ 2021-02-25 12:28 UTC (permalink / raw)
  To: jerinj, Ankur Dwivedi, Anoob Joseph; +Cc: dev, Pavan Nikhilesh

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(-)

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] [PATCH] crypto/octeontx2: enable driver compilation on freebsd
  2021-02-25 12:28 [dpdk-dev] [PATCH] crypto/octeontx2: enable driver compilation on freebsd pbhagavatula
@ 2021-02-25 12:36 ` Jerin Jacob
  0 siblings, 0 replies; 2+ messages in thread
From: Jerin Jacob @ 2021-02-25 12:36 UTC (permalink / raw)
  To: Pavan Nikhilesh; +Cc: Jerin Jacob, Ankur Dwivedi, Anoob Joseph, dpdk-dev

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
>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-25 12:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-25 12:28 [dpdk-dev] [PATCH] crypto/octeontx2: enable driver compilation on freebsd pbhagavatula
2021-02-25 12:36 ` Jerin Jacob

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).