* net/qede: workaround for operation in Ubuntu-24.04
@ 2025-08-28 7:40 Thierry Herbelot
0 siblings, 0 replies; only message in thread
From: Thierry Herbelot @ 2025-08-28 7:40 UTC (permalink / raw)
To: dev
Cc: Olivier Matz, dsinghrawat, palok, jerinj, Laurent Hardy, Edwin Brossette
Hello,
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:
diff --git a/drivers/net/qede/base/meson.build
b/drivers/net/qede/base/meson.build
index 4ad177b478b7..a35ccbfc677f 100644
--- a/drivers/net/qede/base/meson.build
+++ b/drivers/net/qede/base/meson.build
@@ -50,6 +50,7 @@ foreach flag: error_cflags
c_args += flag
endif
endforeach
+c_args += '-O0'
base_lib = static_library('qede_base', sources,
dependencies: [static_rte_net, static_rte_bus_pci],
diff --git a/drivers/net/qede/meson.build b/drivers/net/qede/meson.build
index 3783e24db708..642a47da1e98 100644
--- a/drivers/net/qede/meson.build
+++ b/drivers/net/qede/meson.build
@@ -23,3 +23,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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-08-28 7:40 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-28 7:40 net/qede: workaround for operation in Ubuntu-24.04 Thierry Herbelot
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).