[RESEND] net/qede: workaround for operation in Ubuntu-24.04

Thierry Herbelot thierry.herbelot at 6wind.com
Thu Aug 28 10:09:35 CEST 2025


Hello,

[resend because the original diff was for the 24.11 branch]

qede stopped working with recent distributions, as explained in this bug 
report:
https://bugs.dpdk.org/show_bug.cgi?id=1379

For reference, one workaround is to disable all optimizations when 
compiling the qede PMD with gcc-13, as seen in main branch:

diff --git a/drivers/net/qede/base/meson.build 
b/drivers/net/qede/base/meson.build
index a6dad3ec7bcc..c0d8b8ea979f 100644
--- a/drivers/net/qede/base/meson.build
+++ b/drivers/net/qede/base/meson.build
@@ -55,3 +55,4 @@ foreach flag: error_cflags
          base_cflags += flag
      endif
  endforeach
+base_cflags += '-O0'
diff --git a/drivers/net/qede/meson.build b/drivers/net/qede/meson.build
index e1b21d6ff5cd..2a06419effff 100644
--- a/drivers/net/qede/meson.build
+++ b/drivers/net/qede/meson.build
@@ -22,3 +22,4 @@ sources = files(
  if cc.has_argument('-Wno-format-nonliteral')
      cflags += '-Wno-format-nonliteral'
  endif
+cflags += '-O0'

This enables operation with QL41xxx and QL45xxx NICs.

	Best regards

	Thierry

-- 
Thierry Herbelot



More information about the dev mailing list