Received: from mail-pj2-f13.google.com (mail-pj2-f13.google.com [74.125.227.141]) (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 E1FC4490C0E for ; Sat, 12 Sep 2026 18:22:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=74.125.227.141 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789237356; cv=none; b=UrD19wRnDp2o/dnZyMUCv5NrlamDRjplssKYdX1gbsOEiccnL2EfQNvbhGrv888X33il1z6LelubTWWXUGuWPodg6/cpvdKia9hysL2nOxNrVOfooOHsiXUOkx3yWDV2aaYebA8VJpDvKLopaRNWk7Q5dklcGasXa2bq2+6e8GY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789237356; c=relaxed/simple; bh=3Z4yz3FZGni8K4IueGtIHNjXsDdukNVZ0fkuclGutFs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=sP471BcpCTZ0PzYs2XTxhLTngVB4cqYzZrIPSjik6gXqXOLxYDq64TNPBYA+eusAN/U4QWgIdzx1uhERL+LSmWDHQ0X7XvepHC7qJCSKunxjZzWyAmZPVTAQG3fzbd63/gnO996DkeYQecw+TZVYPs1XA/JlNxovvSjFCuJFSsQ= 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=I4hGXfvD; arc=none smtp.client-ip=74.125.227.141 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="I4hGXfvD" Received: by mail-pj2-f13.google.com with SMTP id d9443c01a7336-2d91ede8035so7041555ad.3 for ; Sat, 12 Sep 2026 11:22:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789237354; x=1789842154; darn=vger.kernel.org; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:from:to:cc:subject :date:message-id:reply-to:content-type; bh=QsDGJSn8W3IPc9HLbr26w5Jqm8wz7PGr9NNVjjKLx7w=; b=I4hGXfvDoUs0WCt52O2x5rZZ4pCjccsnWgdpZbVRWsr1XZbGGQCO9VE8M3zgKp+HRI ATRw+pMi1540onNLWSaWZgXdRspz0v1uW12Nu0N7CZUFRGERN5iRGkPrWAyZo4XrAPno 4Fu8nhsFHeAbpcJheD9bHm9AgSzjFfOhSLFyveQTrIv0fMpKpLXwlL9ywZFNntEzavrm ozjNHoDf6vOVb0AXrl6f2pXVJIh9S7E1zJYLAYZeGISEh5y7wDp3RABNYuQvNYYJwyJy 10O+qGWJr5FgoeN1rIxRBL/tXL7BPAxVWxkvvi68zOfU0HC9iaXKYjnwbHrMjgJ5Iji8 XIng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789237354; x=1789842154; h=in-reply-to:content-disposition:content-type:mime-version :references:message-id:subject:cc:to:from:date:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=QsDGJSn8W3IPc9HLbr26w5Jqm8wz7PGr9NNVjjKLx7w=; b=ZzhwvqpmxDYVpU15SY/ESSzlTtvsf2u+UJ5w6zZEwMZtor1t60CoXrHZKz6JJRW0xV rfwtyJT+D/ClB4cjC78zSYLoMvOtYkai4x/X+SAVd3ON6Dee1C9HErF9snKuNBkEypRw JtHrAORNJ+jGAZdsCSTQ8C61aG3F4tS0tDwDNNAZ5dEuYMr/AO8Clxbmtw/ZBi+tu/sU vFq4Tvzz1VLURiUBm7pBDQ7zvlItJKOAOelyAgTJhnzCyU8mTox0ziMCh7cyCUh98D0O IiaAThn30DHJs9PPB/dVDkiwwJDp90FQ/xDUNsYC+/Jqgmy8qrqxk6AlzwX2iMyR+eI3 2vRg== X-Forwarded-Encrypted: i=1; AKwUvBxXc5hz84NxrrnL3t/aOHIEnn38OzvCKiyIb45aiWe1lxBZjB3X/KYX9Fk2wa+eHEk7ZDDAj7Of/K+pB/R1D9o=@vger.kernel.org X-Gm-Message-State: AFuF++nQPyFBjugkzq0caqhuk2OCsWQOc/ghTsA2IFOoKIVaiyRPIJIa 4VgzxP4otJWOf/Q5HQCvsZZDUuDsN14i3iu75fOfUJAVc2B0Casl2FZL X-Gm-Gg: AYBFou0Okmuco2VGbubtsV5BuvJ9daalCijfrqxfuXkQ8MrTSpgaRyun60fohma4yIw AQ4X+AVYkWnxdSxqC415Fz1q4XO0K0ZwEzxiNapnmjBJOncedyKddOH5yLOsmS2kjWai+O0t6qF jRZBc092mmiY4HvdsoG5WuABnn17NQdWqpTI9+3rPmPTwvzhizkigLQxm47fcs5/P5GagknWMiI qk3ZPef+wXIAiNvuKuIKCm044v4si3WaGijgDqcrkQIbzzSEldj31MIsmfvorbzPRvk7YaXqlOn fmQvlKdLto83EV4z88whJ5v7QjwfPZnbKnukvlTU93frWsaxv1i8iAqbxGaQALCSdElaSEPnVEG tSNZlTNf56/j+FWTQTUQwPrghCALQwzHR8sogC6aXKazrt9uMgOnMfUlstcBdLZVQtAryy2Wjyf XecBunmunP7pswHPZLw6CdMuW6x1P7auMUHsb3XOgwkWnUVOYfvO3YZtFFOoSW4UFhBMaUGg== X-Received: by 2002:a17:90b:582f:b0:396:d28e:bd8 with SMTP id 98e67ed59e1d1-39dbbea2aa4mr7297063a91.3.1789237354308; Sat, 12 Sep 2026 11:22:34 -0700 (PDT) Received: from gmail.com ([2a03:2880:7ff:2::]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-39d987e755fsm11655779a91.0.2026.09.12.11.22.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 12 Sep 2026 11:22:33 -0700 (PDT) Date: Sat, 12 Sep 2026 11:21:42 -0700 From: Narcisa Vasile To: Jakub Kicinski Cc: Narcisa Vasile , netdev@vger.kernel.org, daniel.zahka@gmail.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@google.com, pabeni@redhat.com, shuah@kernel.org, horms@kernel.org, willemb@google.com, petrm@nvidia.com, anubhavsinggh@google.com, richardbgobert@gmail.com, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2] selftests: drv-net: add BIG TCP test cases Message-ID: References: <20260912050327.20616-1-narcisav.kernel@gmail.com> <20260912093226.529ff414@kernel.org> Precedence: bulk X-Mailing-List: linux-kselftest@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260912093226.529ff414@kernel.org> On Sat, Sep 12, 2026 at 09:32:26AM -0700, Jakub Kicinski wrote: > On Fri, 11 Sep 2026 22:03:27 -0700 Narcisa Vasile wrote: > > Add four new test cases that validate coalescing > > under increased size limits (BIG TCP): > > > > big_tcp_data_same > > - validates that equal-sized segments coalesce past > > the legacy IP_MAXPACKET limit. > > big_tcp_data_lrg_sml > > - validates that a smaller final segment coalesces into the > > previous chain of large-sized segments while crossing the > > IP_MAXPACKET limit. > > big_tcp_tcp_seq > > - validates that a packet with a wrong sequence number doesn't > > coalesce. The test uses a sequence number for which the low 16 bits > > correspond to the correct sequence number to validate against > > truncation bugs, since total aggregate length crosses over the > > legacy size limit for BIG TCP. > > big_tcp_large_max > > - validates that coalescing stops at the configured BIG TCP limit. > > Still failing: > > https://netdev-ctrl.bots.linux.dev/logs/vmksft/net-drv-dbg/results/819882/3-gro-sw-py/stdout > > https://netdev-ctrl.bots.linux.dev/logs/vmksft/net-drv-dbg/results/819882/3-gro-sw-py-retry/stdout > > Grep gro_lib.py for KSFT_MACHINE_SLOW Are you suggesting to just skip the big tcp test cases on slow machines? That's the current behavior for the large_* existing tests. > Then the 15x increase is probably unnecessary/too high as well, since > we GRO 64k 128k shouldn't need more than 2x ? If I skip them in slow envs, then yes, 2x should be enough. Those pre-existing up-to-64K large tests don't pass either in the run above. They're skipped, so we don't actually know the proper timeout value for them in this test envirnoment. From the test run above: # # Received {40560 [!=65495]24935 [!=599]599 [!=0]}, Total 3 packets. # # /srv/vmksft/testing/wt-18/tools/testing/selftests/net/lib/gro: incorrect number of packets # # Ignoring ipv4/large_max failure due to slow environment Instead of skipping them, I was thinking to change the approach and send packets continuously, enough for more than just one aggregate. The the test would verify that at least one aggregate passed the 64K boundary. I'd also keep the increased timeout. What do you think?