net/qede: workaround for operation in Ubuntu-24.04
Subsystems (2)
PATCH RESEND 1/1 net/qede: workaround for operation in Ubuntu-24.04
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:
drivers/net/qede/base/meson.build +1 -0
@@ -55,3 +55,4 @@ foreach flag: error_cflags base_cflags += flag endif endforeach +base_cflags += '-O0'
drivers/net/qede/meson.build +1 -0
@@ -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
Signature · 1 line
Thierry Herbelot
Quoted 10 lines · On Thu, 28 Aug 2025 10:09:35 +0200 Thierry Herbelot…
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=1379For reference, one workaround is to disable all optimizations when compiling the qede PMD with gcc-13, as seen in main branch:
Using O0 is pretty drastic and can have bad performance and doing it for every distro will cause performance drop.
All patches must have Signed-off-by, so this patch will be dropped.
Quoted 11 lines · Stephen Hemminger
Quoted 8 lines · On Thu, 28 Aug 2025 10:09:35 +0200 Thierry Herbelot…
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
Quoted 6 lines
Quoted 2 lines
For reference, one workaround is to disable all optimizations when compiling the qede PMD with gcc-13, as seen in main branch:
Using O0 is pretty drastic and can have bad performance and doing it for every distro will cause performance drop.
Hello Stephen
I absolutely agree: -O0 brings a big performance drop.
I am investigating if the qede PMD compiled with -O1 or -O2 optimization levels and gcc-13 is still working.
Regards
Thierry
Quoted 2 lines
All patches must have Signed-off-by, so this patch will be dropped.
Signature · 1 line
Thierry Herbelot