From: Nicolai Buchwitz <nb@tipi-net.de>
To: Paolo Abeni <pabeni@redhat.com>
Cc: "Théo Lebrun" <theo.lebrun@bootlin.com>,
"Conor Dooley" <conor.dooley@microchip.com>,
"Claudiu Beznea" <claudiu.beznea@tuxon.dev>,
"Jonathan Bell" <jonathan@raspberrypi.com>,
"Andrew Lunn" <andrew+netdev@lunn.ch>,
"David S . Miller" <davem@davemloft.net>,
"Eric Dumazet" <edumazet@google.com>,
"Jakub Kicinski" <kuba@kernel.org>,
"Richard Cochran" <richardcochran@gmail.com>,
netdev@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH net 1/2] net: macb: exclude software FCS from TX byte statistics
Date: Fri, 28 Aug 2026 10:10:20 +0200 [thread overview]
Message-ID: <7612190788cebe8538242c039a332644@tipi-net.de> (raw)
In-Reply-To: <18d43f38-ad3c-4e1e-b313-dd3b64fe02c3@redhat.com>
Hi Paolo
On 27.8.2026 10:52, Paolo Abeni wrote:
> On 8/25/26 5:04 PM, Nicolai Buchwitz wrote:
>> Replying to netdev's sashiko
>> https://netdev-ai.bots.linux.dev/sashiko/#/message/20260824134703.766708-2-nb%40tipi-net.de:
>
> It looks like you instead replied to the comments from:
>
> https://sashiko.dev/#/patchset/20260824134703.766708-1-nb%40tipi-net.de
>
> Note that our reference saskiko instance is actually the one you
> pointed to above, even if the comments are at as slightly different
> URL:
>
> https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260824134703.766708-1-nb%40tipi-net.de
Thanks for the pointer. I'll have another look and check the findings.
Only partially related, but is there a good way to c&p the sashiko
review already quoted, so
it is easier to respond inline via email? I saw the discussion about
sending feedback via email
and also the note from Jakub in the 7.2 stats that the current false
positive rate _might_
be stable enough to do this in the future, but until then this would
help a lot!
>
> Also note that pre-existing issue should (usually) not be addressed
> in the same patchset (unless really bad/exploitable).
I've bundled patch 1 because patch 2 makes it far more visible. Happy to
split out if you'd rather.
>
> Finally I have some concerns WRT patch 2/2: it should bring a
> significant performance regression, and the frames transmitted ATM are
> still valid (even if 'downgraded' csum wise). It would probably be good
> to provide some priv flag to enable/disable such behavior.
Agreed. I'm currently testing another approach that checks whether the
checksum would be 0 and
only does the sw checksum calculation for those packets. Also, the
testing from Alexander showed that
maybe not all revisions are affected. Théo can probably check Mobileye
silicon so we can pin this down further.
>
> I guess some/most users would prefer send 1 frame out of 64K with csum
> validation unexpectedly disabled than hit a huge slowdown.
Agreed, lets see if the different approach might save us this at all.
>
> /P
Cheers
Nicolai
next prev parent reply other threads:[~2026-08-28 8:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-24 13:47 [PATCH net 0/2] net: macb: fix zero UDPv4 checksum on transmit Nicolai Buchwitz
2026-08-24 13:47 ` [PATCH net 1/2] net: macb: exclude software FCS from TX byte statistics Nicolai Buchwitz
2026-08-25 15:04 ` Nicolai Buchwitz
2026-08-27 8:52 ` Paolo Abeni
2026-08-28 8:10 ` Nicolai Buchwitz [this message]
2026-08-27 18:56 ` Jakub Kicinski
2026-08-28 8:20 ` Nicolai Buchwitz
2026-08-28 13:02 ` David Laight
2026-08-28 8:37 ` David Laight
2026-08-24 13:47 ` [PATCH net 2/2] net: macb: fix zero UDPv4 checksum on transmit Nicolai Buchwitz
2026-08-28 6:04 ` [PATCH net 0/2] " Alexander Dahl
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=7612190788cebe8538242c039a332644@tipi-net.de \
--to=nb@tipi-net.de \
--cc=andrew+netdev@lunn.ch \
--cc=claudiu.beznea@tuxon.dev \
--cc=conor.dooley@microchip.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jonathan@raspberrypi.com \
--cc=kuba@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=richardcochran@gmail.com \
--cc=theo.lebrun@bootlin.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