From: Oscar Maes <oscmaes92@gmail.com>
To: Andrew Lunn <andrew@lunn.ch>
Cc: Jakub Kicinski <kuba@kernel.org>,
netdev@vger.kernel.org, edumazet@google.com, pabeni@redhat.com
Subject: Re: [PATCH net-next v2 2/2] pcnet32: switch to napi_alloc_skb() and napi_gro_receive()
Date: Tue, 2 Jun 2026 18:37:56 +0200 [thread overview]
Message-ID: <20260602163756-oscmaes92@gmail.com> (raw)
In-Reply-To: <4b5bc4b7-9921-42ac-bf87-a5009f561443@lunn.ch>
On Sun, May 31, 2026 at 10:09:44PM +0200, Andrew Lunn wrote:
> On Sun, May 31, 2026 at 06:51:40PM +0200, Oscar Maes wrote:
> > On Thu, May 28, 2026 at 12:12:10PM -0700, Jakub Kicinski wrote:
> > > On Thu, 28 May 2026 19:05:10 +0200 Oscar Maes wrote:
> > > > On Thu, May 28, 2026 at 08:07:48AM -0700, Jakub Kicinski wrote:
> > > > > On Thu, 28 May 2026 16:28:51 +0200 Oscar Maes wrote:
> > > > > > On Mon, May 25, 2026 at 08:45:28AM -0700, Jakub Kicinski wrote:
> > > > > > Intel x86
> > > > >
> > > > > LOL. Please. Which _hardware_ platform.
> > > > > Or to ask more directly - is it QEMU.
> > > >
> > > > It was indeed tested on QEMU.
> > > > Either way, the performance measurements were just a sanity check.
> > > > Changing the code to use the modern API is just better.
> > >
> > > Please don't waste our time with optimizations to unused code.
> >
> > It's not unused code. VMware emulates this device by default in some cases.
> > I've encountered it when installing QubesOS in vmware which is based on
> > relatively modern Linux.
>
> There is a saying: If it is not broken, don't fix it.
>
> "Changing the code to use the modern API is just better" if not a good
> enough reason on its own. Using older APIs does not mean it is
> broken. It does not need fixing. Some percentage of changes like this
> break stuff. We Reviewers/Maintainers need to look closely at such
> changes and decide if it does actually break stuff. And we want to
> know what the return on investment is? I would much rather spend my
> time reviewing new drivers for hardware which currently does not have
> a driver.
>
> So, if you say something like: I'm using this driver daily for X. I've
> spent some time optimising it, and with this change, my use case gets
> a 10% increase in performance. Here are my numbers....
>
> That gives us a better feeling that you have extensively tested this,
> so it is less likely you have broken something. You can also show
> there is a real improvement. So the change is actually worth while.
>
> Andrew
>
>
>
>
>
Fair enough, I appreciate the input.
This change isn't a big deal to me, so I guess we can drop it.
I'll make sure to keep your advice in mind for future patches.
prev parent reply other threads:[~2026-06-02 16:38 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-25 12:54 [PATCH net-next v2 0/2] pcnet32: switch to napi_alloc_skb() and napi_gro_receive() Oscar Maes
2026-05-25 12:54 ` [PATCH net-next v2 1/2] pcnet32: stop holding device spin lock during napi_complete_done Oscar Maes
2026-05-25 13:53 ` Andrew Lunn
2026-05-25 15:46 ` Jakub Kicinski
2026-05-25 12:54 ` [PATCH net-next v2 2/2] pcnet32: switch to napi_alloc_skb() and napi_gro_receive() Oscar Maes
2026-05-25 15:45 ` Jakub Kicinski
2026-05-28 14:28 ` Oscar Maes
2026-05-28 15:07 ` Jakub Kicinski
2026-05-28 17:05 ` Oscar Maes
2026-05-28 19:12 ` Jakub Kicinski
2026-05-31 16:51 ` Oscar Maes
2026-05-31 20:09 ` Andrew Lunn
2026-06-02 16:37 ` Oscar Maes [this message]
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=20260602163756-oscmaes92@gmail.com \
--to=oscmaes92@gmail.com \
--cc=andrew@lunn.ch \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.