Netdev List
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: Jakub Kicinski <kuba@kernel.org>, davem@davemloft.net
Cc: netdev@vger.kernel.org, edumazet@google.com,
	andrew+netdev@lunn.ch, horms@kernel.org, shuah@kernel.org,
	willemb@google.com, linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net-next] selftests: drv-net: gro: signal over-coalescing more reliably
Date: Tue, 9 Jun 2026 12:23:45 +0200	[thread overview]
Message-ID: <3ff13fcb-1587-43d2-b749-ef8ec14d5ba5@redhat.com> (raw)
In-Reply-To: <20260608195320.007b34ad@kernel.org>

On 6/9/26 4:53 AM, Jakub Kicinski wrote:
> On Sat,  6 Jun 2026 17:24:01 -0700 Jakub Kicinski wrote:
>> +	/* Signal over-coalescing explicitly, it's a hard failure, unlike
>> +	 * under-coalescing which could be timing- or loss-related.
>> +	 */
>> +	if (num_pkt < correct_num_pkts && bytes_received == bytes_expected)
>> +		error(EXIT_OVER_COALESCE, 0,
>> +		      "over-coalesced: got %d pkts vs expected %d (%d B)",
>> +		      num_pkt, correct_num_pkts, bytes_received);
> 
> Sashiko complains that this condition may mis-fire if we lose a zero-len
> RST or ACK. This is true, tho, if the device drops pure acks ignoring
> failures where ack disappeared puts us back at risk of false negatives.
> Happy to respin but feels like we only have bad choices here..

My personal take here is that packet loss at (very) low rate in a
controlled environment should be threaded as fatal: I think the patch in
the current form is the better option.

/P


  reply	other threads:[~2026-06-09 10:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-07  0:24 [PATCH net-next] selftests: drv-net: gro: signal over-coalescing more reliably Jakub Kicinski
2026-06-07 13:49 ` Willem de Bruijn
2026-06-09  2:53 ` Jakub Kicinski
2026-06-09 10:23   ` Paolo Abeni [this message]
2026-06-09 10:30 ` patchwork-bot+netdevbpf

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=3ff13fcb-1587-43d2-b749-ef8ec14d5ba5@redhat.com \
    --to=pabeni@redhat.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kuba@kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=shuah@kernel.org \
    --cc=willemb@google.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