Netdev List
 help / color / mirror / Atom feed
From: Lorenzo Bianconi <lorenzo@kernel.org>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Chad Monroe <chad@monroe.io>,
	SAYANTAN NANDY <sayantann11@gmail.com>,
	netdev@vger.kernel.org
Subject: Re: [PATCH net v4] net: airoha: keep PPE offload when NPU refuses flow stats
Date: Mon, 26 Oct 2026 08:31:46 +0100	[thread overview]
Message-ID: <at8B4YDW0-dL22QY@lore-desk> (raw)
In-Reply-To: <54711f8d-d71a-43f6-876c-d32f4c562b8d@lunn.ch>

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

> On Sun, Oct 25, 2026 at 03:25:28PM +0000, Chad Monroe wrote:
> > On Wednesday, October 21st, 2026 at 5:49 AM, Andrew Lunn <andrew@lunn.ch> wrote:
> > 
> > > On Wed, Oct 21, 2026 at 03:34:23PM +0530, SAYANTAN NANDY wrote:
> > > > From: Chad Monroe <chad@monroe.io>
> > > >
> > > > With flow stats enabled, PPE offload setup requests flow statistics
> > > > from the NPU. If the running NPU firmware does not support flow
> > > > counters, the request fails and the current setup path aborts PPE
> > > > offload.
> > > 
> > > Since this never worked, it is not a regression fix.
> > > 
> > > Why not keep it KISS and report the firmware is too old and suggest
> > > the firmware is updated?
> > > 
> > > Can the driver do the firmware upgrade?
> > > 
> > >     Andrew
> > > 
> > 
> > Hi Andrew,
> > 
> > The NPU firmware bin is downloaded at each boot and is present in
> > linux-firmware so no issue with keeping it up to date.
> > 
> > The main reason for this change is to behave better when flags mismatch.
> > Previously, loading a driver compiled with flow stats support enabled
> > would silently fail to offload if the firmware didn't have support.
> 
> Sayantan suggested this is a regression. It used to work, but does not
> now?
> 
> We should avoid regressions.

I do not think this is a regression. In this case, the default behaviour is
just fall-back to sw flowtable acceleration.

@sayantan: can you please confirm?

Regards,
Lorenzo

> 
>    Andrew

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2026-10-26  7:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-21 10:04 [PATCH net v4] net: airoha: keep PPE offload when NPU refuses flow stats SAYANTAN NANDY
2026-10-21 12:48 ` Andrew Lunn
2026-10-25 15:25   ` Chad Monroe
2026-10-25 22:52     ` Andrew Lunn
2026-10-26  7:31       ` Lorenzo Bianconi [this message]
2026-10-25 11:40 ` netdev-bot+sashiko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=at8B4YDW0-dL22QY@lore-desk \
    --to=lorenzo@kernel.org \
    --cc=andrew@lunn.ch \
    --cc=chad@monroe.io \
    --cc=netdev@vger.kernel.org \
    --cc=sayantann11@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox