DPDK patches and discussions
 help / color / mirror / Atom feed
* [RESEND] net/qede: workaround for operation in Ubuntu-24.04
@ 2025-08-28  8:09 Thierry Herbelot
  2025-08-28 14:51 ` Stephen Hemminger
  0 siblings, 1 reply; 3+ messages in thread
From: Thierry Herbelot @ 2025-08-28  8:09 UTC (permalink / raw)
  To: dev
  Cc: Olivier Matz, dsinghrawat, palok, jerinj, Laurent Hardy, Edwin Brossette

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


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

* Re: [RESEND] net/qede: workaround for operation in Ubuntu-24.04
  2025-08-28  8:09 [RESEND] net/qede: workaround for operation in Ubuntu-24.04 Thierry Herbelot
@ 2025-08-28 14:51 ` Stephen Hemminger
  2025-08-28 14:55   ` Thierry Herbelot
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Hemminger @ 2025-08-28 14:51 UTC (permalink / raw)
  To: Thierry Herbelot
  Cc: dev, Olivier Matz, dsinghrawat, palok, jerinj, Laurent Hardy,
	Edwin Brossette

On Thu, 28 Aug 2025 10:09:35 +0200
Thierry Herbelot <thierry.herbelot@6wind.com> wrote:

> 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:


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.

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

* Re: [RESEND] net/qede: workaround for operation in Ubuntu-24.04
  2025-08-28 14:51 ` Stephen Hemminger
@ 2025-08-28 14:55   ` Thierry Herbelot
  0 siblings, 0 replies; 3+ messages in thread
From: Thierry Herbelot @ 2025-08-28 14:55 UTC (permalink / raw)
  To: Stephen Hemminger
  Cc: dev, Olivier Matz, dsinghrawat, palok, jerinj, Laurent Hardy,
	Edwin Brossette

On 8/28/25 16:51, Stephen Hemminger wrote:
> On Thu, 28 Aug 2025 10:09:35 +0200
> Thierry Herbelot <thierry.herbelot@6wind.com> wrote:
> 
>> 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:
> 
> 
> 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

> 
> All patches must have Signed-off-by, so this patch will be dropped.

-- 
Thierry Herbelot

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

end of thread, other threads:[~2025-08-28 14:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-28  8:09 [RESEND] net/qede: workaround for operation in Ubuntu-24.04 Thierry Herbelot
2025-08-28 14:51 ` Stephen Hemminger
2025-08-28 14:55   ` 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).