Article View: linux.kernel.netdev
Article #854Re: [PATCH net-next v5 6/6] net: net_test: add tests for TCP re-segmentation
From: Willem de Bruijn
Date: Thu, 08 Oct 2026 18:38
Date: Thu, 08 Oct 2026 18:38
16 lines
9455 bytes
9455 bytes
Wang Zhan wrote: > The GSO engine can now be asked to group several MSS segments into one > output skb, which is what re-segmentation needs. Add KUnit coverage for > the max_segs parameter. > > The parameterized GSO test gains a max_segs input and four cases: a limit > of two MSS applied to a 3003 byte and to a 5003 byte payload, a tail which > holds one MSS and is therefore not a GSO skb, and a max_segs of one MSS > which must leave the output unchanged. It drives skb_segment() directly, > because the synthetic protocol it uses has no gso_segment callback. > > Assisted-by: LLM > Signed-off-by: Wang Zhan <wang.zhan@smartx.com> Reviewed-by: Willem de Bruijn <willemb@google.com>
Technical Details
Message-ID:
<willemdebruijn.kernel.36b1499061092@gmail.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343206-linux-kernel-netdev=dewy.ruReferences:
<20261008100651.2534957-1-wang.zhan@smartx.com> <20261008100651.2534957-7-wang.zhan@smartx.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-343206-linux-kernel-netdev=dewy.ru
From: willemdebruijn.kernel@gmail.com (Willem de Bruijn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 6/6] net: net_test: add tests for TCP
re-segmentation
Date: Thu, 08 Oct 2026 14:38:21 -0400
Organization: Usenet Network
Message-ID: <willemdebruijn.kernel.36b1499061092@gmail.com>
References: <20261008100651.2534957-1-wang.zhan@smartx.com>
<20261008100651.2534957-7-wang.zhan@smartx.com>
MIME-Version: 1.0
Content-Type: text/plain;
charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
logging-data="943338"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:ThX1IxOj721peaNWO/VxQ1A1+gc= sha256:oBYiRprj/XVzAuoFC0MT/0svF66SPaUf4L+sGRtn4iE=
sha1:nD/UvCuiaiHJqQuweADq8U1KLDc= sha256:1GbdzhCRAFw4CiHbrFtkn7noeH9K/awLjVkenSnsB3o=
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
X-Received: from localhost (localhost [127.0.0.1])
by mail.dewy.ru (Postfix) with ESMTP id 41C7410F4CB; Thu, 8 Oct 2026 21:39:13 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.049
X-Spam-Status: No, score=-3.049 tagged_above=-9999 required=6.31
tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001,
FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
SPF_PASS=-0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.com
X-Received: from mail.dewy.ru ([127.0.0.1])
by localhost (mail.dewy.ru [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id vx7ifnit-nAD;
Thu, 8 Oct 2026 21:39:10 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-343206-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN>
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=gmail.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
by mail.dewy.ru (Postfix) with ESMTPS id 062E910F4B8; Thu, 8 Oct 2026 21:39:06 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
by sea.lore.kernel.org (Postfix) with ESMTP id 9972531A6F; Thu, 8 Oct 2026 18:38:38 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
by smtp.subspace.kernel.org (Postfix) with ESMTP id 561614F3ED9;
Thu, 8 Oct 2026 18:38:28 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KXngj5ko"
X-Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com [209.85.128.180])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56C083B14B2
for <netdev@vger.kernel.org>; Thu, 8 Oct 2026 18:38:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.180
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
t=1791484708; cv=none; b=qGkzuspFumZMLYNO/oeJL+GhlndAG7aeSnNiLEEDm36rYwbZUdJnC+Xl9tHSPIeeZ+/+LaQfhbl/12Ezl1KfVe7KPUwD5Os38XkeKdX/Ht1g9tv0Z9Z/mIKdw5c5MBsvr9FEL9BEgB3k9PrLKJPjYIQmANECe4ZKJJ4T7qYe1co=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
s=arc-20240116; t=1791484708; c=relaxed/simple;
bh=m2ewrPoHwizBBGqZ1VX05AaqtRPFHf0B2gzpKKDpFhM=;
h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:
MIME-Version:Content-Type; b=mywVpxvayERG41wbm/X30TxsZAPd1ATsTw1ckPb8OohIJy+fGlvEuNfe+7eiEh1T0sz09t9i3n5ZP5k2tEkvo52IPevuUvY6rJQhiOcHfTKItdxXobC3uqSfnCjFueMsOlAFowKUPDHtkshiQhEVyVZuyXrN8khtLGud/kuMEs4=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KXngj5ko; arc=none smtp.client-ip=209.85.128.180
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com
X-Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-8b06c0794cfso17365507b3.0
for <netdev@vger.kernel.org>; Thu, 08 Oct 2026 11:38:25 -0700 (PDT)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20251104; t=1791484704; x=1792089504; darn=vger.kernel.org;
h=content-transfer-encoding:content-type:mime-version:subject
:references:in-reply-to:message-id:cc:to:from:date:from:to:cc
:subject:date:message-id:reply-to:content-type;
bh=57HsZIaZxrcnuC+WZ3zUBlBNZxj4v8H8RKQoAORIJy8=;
b=KXngj5koVU2yj5XFJiA1vpRVxcm8wn4dKCpeF6ygfkzXo5ix7W5kHtX/GKGAYbVlS2
w3rGXtXBQQRSqEfyWtzKbfKvsI3hhMySLmuTrrB4phjPn3RoRnkg14gSdTLB9B+iz7Bx
YhsvOSm968yyIN0cZkmsEAS2rm1EB30WemfpxGmptpiHoaaLTxXd5P/mbPOJBFahNukt
WddrCwy8CV4rnS1UoylNbig6Chio+5gstDqbdXELvip18k5ppFzFDusN5wz46SEI6+py
Ee/ooKAWFJqxjtD0i7KILWDd02v6dPnVlI5sL6Nu/9plnfuE8VsoZjl2G1jlHnFNpkVu
ppaQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1791484704; x=1792089504;
h=content-transfer-encoding:content-type:mime-version:subject
:references:in-reply-to:message-id:cc:to:from:date:x-gm-gg
:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to
:content-type;
bh=57HsZIaZxrcnuC+WZ3zUBlBNZxj4v8H8RKQoAORIJy8=;
b=DpcCzNCBBDH9tO1mjMqIR5P25/trJMO7R1KY6BodeKkSMB4lRv4K/Y3bTtj+7JEz4t
gIyHLv6q+QuisOv0tcwUoN1TgcnuwStE9zsRBhDEDhQqohC57e87IJhrdRhhjLt6/bSF
RnzUi7yg3GTJ+lYFSxHrELn/gFRHj6HblQInvBBjHX4bgqqozoGjADzw67c2Jz8ne266
+2jIPBU9z+Ctm48L9kvrcJMXAxFwkNhdnCk3/cL2vOUmkzTqGMZEsshnSWxWggX3NB9G
Lbqm1UaKGue6viR+g8VPxnHSdaKFaDOy5NZfPSx3RxKpAMmYZz0WAbl3HY/0xF/N/2Jv
TA+g==
X-Forwarded-Encrypted: i=1; AKwUvBzqVFRJsIxs5FHRWPh/7Hrdj/d0ijAVX9U09R9h05+1CLUNO9R8FpYGtWMT9xzvYvpS36nDY3U=@vger.kernel.org
X-Gm-Message-State: AFq9FYJgpDXDqdZDo2zGWvMCJMgZkKZTOWUafRauc37BFWCsH4ZObUBl
wnVuoloj44jZlqM1nRAeu9ALSbgHh+HskIfC7DsIjy1YRC34aSobhLWL
X-Gm-Gg: AYBFou261vzxE5Ff+RiNyAaQ2RYFcajlwNhdFWfXR/SZohFm4gGUisZaEf0gorSnwNG
8yMzByFXTZ0vnQPYfxW0ahBXkyDmKOzvFiXOcgc19dXImDbo+Sxt2nn7OGYg4EbKIv29T+KXtRj
7yKaQ4aC9Igo6detDkzai5dwzWmext0iT0j2FDOa1JG6ulVeJc9C1SodN1XO0oXmOJFgGypX9/r
Acx30/dSTByfU/PWfRYgbapc40ddN9htQ/cpMDf77YOqThgcQh26fIyuBIg6VvU2UAzIBkEh58X
/O0iokAtgxZltCv3GCnRJvKBaoFj8s2H7sHgyZqu9SWp2tLO7nNKJjDXsBVlTaCzYajScyH+zgC
3JmyHHHC1Tc68k6aAInTHgmvos6YSQruIe0ODM/8Rw3htzHcqR5Th2ElOfRCgBKaLL6ZDBEVuMj
32x1MIr/kvXDJeyXXd6SZ+DdLxa63uHYwzLxqCErm/0sCdLW7FVzOUfxXtsERW3wLw/FLMtiOBQ
H6EArUH9zNQv7LKfwxdQCTrARJaRJIg2K+7NN5OkjEV3f0Dc5i4AS/rzfhP6MMzsWvWWTjjPBv+
x9K7SXTaoKWw5092VJQ2wQkWNWJDeuGv9qRbPrIkIR8PSdLs
X-Received: by 2002:a05:690c:6d81:b0:874:894:9a52 with SMTP id 00721157ae682-8b05b03d384mr42795497b3.40.1791484703943;
Thu, 08 Oct 2026 11:38:23 -0700 (PDT)
X-Received: from gmail.com (111.46.245.35.bc.googleusercontent.com. [35.245.46.111])
by smtp.gmail.com with ESMTPSA id 00721157ae682-8b07d351d14sm189097b3.2.2026.10.08.11.38.22
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 08 Oct 2026 11:38:23 -0700 (PDT)
X-Cc: davem@davemloft.net,
edumazet@google.com,
kuba@kernel.org,
pabeni@redhat.com,
horms@kernel.org,
keyong.sun@smartx.com,
Willem de Bruijn <willemdebruijn.kernel@gmail.com>,
Jason Wang <jasowangio@gmail.com>,
Andrew Lunn <andrew+netdev@lunn.ch>,
Aaron Conole <aconole@redhat.com>,
Eelco Chaudron <echaudro@redhat.com>,
Ilya Maximets <i.maximets@ovn.org>,
dev@openvswitch.org,
Daniel Borkmann <daniel@iogearbox.net>,
Neal Cardwell <ncardwell@google.com>,
Kuniyuki Iwashima <kuniyu@google.com>,
Alice Mikityanska <alice@isovalent.com>,
David Laight <david.laight.linux@gmail.com>,
Wang Zhan <wang.zhan@smartx.com>
X-In-Reply-To: <20261008100651.2534957-7-wang.zhan@smartx.com>
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>