DPDK patches and discussions
 help / color / mirror / Atom feed
* [PATCH] bpf/xdp: disable on 32bit x86
@ 2024-04-25 15:05 luca.boccassi
  2024-04-25 15:28 ` Stephen Hemminger
  2024-04-26 21:34 ` Patrick Robb
  0 siblings, 2 replies; 3+ messages in thread
From: luca.boccassi @ 2024-04-25 15:05 UTC (permalink / raw)
  To: dev; +Cc: john.mcnamara

From: Luca Boccassi <bluca@debian.org>

As per Intel, this is not supported, and the librte-bpf test fails on 32bit x86
kernels, so disable the library and the pmd.

Signed-off-by: Luca Boccassi <bluca@debian.org>
---
 drivers/net/af_xdp/meson.build | 6 ++++++
 lib/bpf/meson.build            | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/drivers/net/af_xdp/meson.build b/drivers/net/af_xdp/meson.build
index 9f33e57fa2..2e936a1905 100644
--- a/drivers/net/af_xdp/meson.build
+++ b/drivers/net/af_xdp/meson.build
@@ -7,6 +7,12 @@ if is_windows
     subdir_done()
 endif
 
+if arch_subdir == 'x86' and dpdk_conf.get('RTE_ARCH_32')
+    build = false
+    reason = 'not supported on 32bit x86'
+    subdir_done()
+endif
+
 sources = files('rte_eth_af_xdp.c')
 
 libxdp_ver = '>=1.2.2'
diff --git a/lib/bpf/meson.build b/lib/bpf/meson.build
index cd739bb827..776dbb72c9 100644
--- a/lib/bpf/meson.build
+++ b/lib/bpf/meson.build
@@ -7,6 +7,12 @@ if is_windows
     subdir_done()
 endif
 
+if arch_subdir == 'x86' and dpdk_conf.get('RTE_ARCH_32')
+    build = false
+    reason = 'not supported on 32bit x86'
+    subdir_done()
+endif
+
 sources = files('bpf.c',
         'bpf_dump.c',
         'bpf_exec.c',
-- 
2.39.2


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

* Re: [PATCH] bpf/xdp: disable on 32bit x86
  2024-04-25 15:05 [PATCH] bpf/xdp: disable on 32bit x86 luca.boccassi
@ 2024-04-25 15:28 ` Stephen Hemminger
  2024-04-26 21:34 ` Patrick Robb
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen Hemminger @ 2024-04-25 15:28 UTC (permalink / raw)
  To: luca.boccassi; +Cc: dev, john.mcnamara

On Thu, 25 Apr 2024 16:05:58 +0100
luca.boccassi@gmail.com wrote:

> From: Luca Boccassi <bluca@debian.org>
> 
> As per Intel, this is not supported, and the librte-bpf test fails on 32bit x86
> kernels, so disable the library and the pmd.
> 
> Signed-off-by: Luca Boccassi <bluca@debian.org>

Acked-by: Stephen Hemminger <stephen@networkplumber.org>

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

* Re: [PATCH] bpf/xdp: disable on 32bit x86
  2024-04-25 15:05 [PATCH] bpf/xdp: disable on 32bit x86 luca.boccassi
  2024-04-25 15:28 ` Stephen Hemminger
@ 2024-04-26 21:34 ` Patrick Robb
  1 sibling, 0 replies; 3+ messages in thread
From: Patrick Robb @ 2024-04-26 21:34 UTC (permalink / raw)
  To: luca.boccassi; +Cc: dev, john.mcnamara

[-- Attachment #1: Type: text/plain, Size: 296 bytes --]

Recheck-request: iol-compile-amd64-testing

The DPDK Community Lab updated to the latest Alpine image yesterday, which
resulted in all Alpine builds failing. The failure is unrelated to your
patch, and this recheck should remove the fail on Patchwork, as we have
disabled Alpine testing for now.

[-- Attachment #2: Type: text/html, Size: 361 bytes --]

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

end of thread, other threads:[~2024-04-26 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-04-25 15:05 [PATCH] bpf/xdp: disable on 32bit x86 luca.boccassi
2024-04-25 15:28 ` Stephen Hemminger
2024-04-26 21:34 ` Patrick Robb

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