Netdev List
 help / color / mirror / Atom feed
From: Narcisa Vasile <narcisav.kernel@gmail.com>
To: Joe Damato <joe@dama.to>
Cc: netdev@vger.kernel.org, Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Shuah Khan <shuah@kernel.org>,
	edumazet@google.com, horms@kernel.org, narcisav.kernel@gmail.com,
	linux-kselftest@vger.kernel.org
Subject: Re: [PATCH net-next 1/2] selftests: drv-net: uso: check datagram sizes at the receiver
Date: Tue, 24 Nov 2026 23:48:56 -0800	[thread overview]
Message-ID: <awaS6Koc55ducrm6@gmail.com> (raw)
In-Reply-To: <20261125013838.3823834-2-joe@dama.to>

On Tue, Nov 24, 2026 at 05:38:35PM -0800, Joe Damato wrote:
> The receiver only checks the total number of bytes received, which is
> the same whether the peer gets one datagram per segment or a single
> unsegmented datagram.
> 
> Run socat with -v, which logs the length of each datagram received,
> and check that the peer received one datagram per segment with the
> expected sizes.
> 
> Signed-off-by: Joe Damato <joe@dama.to>
> Suggested-by: Jakub Kicinski <kuba@kernel.org>
> ---
>  tools/testing/selftests/drivers/net/hw/uso.py | 15 ++++++++++++---
>  1 file changed, 12 insertions(+), 3 deletions(-)

Reviewed-by: Narcisa Vasile <narcisav.kernel@gmail.com>

  reply	other threads:[~2026-11-25  7:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25  1:38 [PATCH net-next 0/2] selftests: drv-net: uso: test small MSS Joe Damato
2026-11-25  1:38 ` [PATCH net-next 1/2] selftests: drv-net: uso: check datagram sizes at the receiver Joe Damato
2026-11-25  7:48   ` Narcisa Vasile [this message]
2026-11-25  1:38 ` [PATCH net-next 2/2] selftests: drv-net: uso: add small MSS variants Joe Damato
2026-11-25  7:51   ` Narcisa Vasile

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=awaS6Koc55ducrm6@gmail.com \
    --to=narcisav.kernel@gmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=joe@dama.to \
    --cc=kuba@kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=shuah@kernel.org \
    /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