🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #1883

Re: [PATCH net-next] selftests: net: bareudp: Add stream tests with software GSO

#1883
From: Haishuang Yan
Date: Sun, 11 Oct 2026 10:30
32 lines
7151 bytes
On Sun, Oct 11, 2026 at 01:23:25 +0000, netdev-bot+sashiko@kernel.org wrote:
> [Severity: Medium]
> The new header comment says:
>
>   so that the GSO packets encapsulated by bareudp are segmented in software.
>
> Does that hold for the two Unicast MPLS stream tests?
[...]
> Should the MPLS stream tests be dropped? Alternatively, the header comment
> and commit message could be updated and CONFIG_NET_MPLS_GSO added to the
> selftests config.

Right. Counting calls with the function profiler, the MPLS streams only
go through mpls_gso_segment() and never reach skb_udp_tunnel_segment(),
while the IPv4 streams do. With mpls_gso blocked from loading, both
MPLS streams fail. (When it is a module, it does get loaded here, as a
softdep of mpls_iptunnel, but the tests do not reach the tunnel GSO
path anyway.)

I will drop the MPLS stream tests in v2.

> [Severity: Low]
> exit_cleanup() calls cleanup_all_ns before the new `[ -n
> "${TMPFILE}" ] && rm -f "${TMPFILE}"`.
[...]
> Would it help to remove TMPFILE before calling cleanup_all_ns, or to
> tolerate its failure?

Yes, v2 will remove it first.

pw-bot: cr
Technical Details
Message-ID: <20261011103014.1605368-1-yanhaishuang@cmss.chinamobile.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-344445-linux-kernel-netdev=dewy.ru
References: <179168180510.434549.891701914488385708@kernel.org>

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-344445-linux-kernel-netdev=dewy.ru
From: yanhaishuang@cmss.chinamobile.com (Haishuang Yan)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next] selftests: net: bareudp: Add stream tests with software GSO
Date: Sun, 11 Oct 2026 18:30:14 +0800
Organization: Usenet Network
Message-ID: <20261011103014.1605368-1-yanhaishuang@cmss.chinamobile.com>
References: <179168180510.434549.891701914488385708@kernel.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1518798"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:d2ofgEYED9DGoUaMgFVrbdvvFuk= sha256:JSPN5bwG6l8f+4c/eMp9jUwtIoeMrbBADz5SaFG8W2E=
	sha1:GQbP4q1CpUBnybYTvpkS2sj3Qa8= sha256:sUC28S6prr2Chj03VX6AHBi4O1ozka4yjgODUdfQzPY=
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 7716810F9D1; Sun, 11 Oct 2026 13:30:45 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.45
X-Spam-Status: No, score=-0.45 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_INVALID=0.1, DKIM_SIGNED=0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.249, MAILING_LIST_MULTI=-1,
	SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001]
	autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=fail (1024-bit key)
	reason="fail (body has been altered)" header.d=cmss.chinamobile.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 2LpVGx8qGxTG;
	Sun, 11 Oct 2026 13:30:37 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-344445-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=cmss.chinamobile.com
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 87E2A10F7F5; Sun, 11 Oct 2026 13:30:32 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by tor.lore.kernel.org (Postfix) with ESMTP id 2A27229EB1; Sun, 11 Oct 2026 10:30:30 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id 225C034F24E;
	Sun, 11 Oct 2026 10:30:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.b="jK/CA/8x"
X-Received: from cmccmta6.chinamobile.com (cmccmta6.chinamobile.com [111.22.67.139])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id D04D8223DE5;
	Sun, 11 Oct 2026 10:30:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=111.22.67.139
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1791714629; cv=none; b=rAAttjsZtRBU5ZtBErX77yFFoXh8LSPiFCvncqCbPAgTUfqGT+TTRsJW18z2A1ZzyaZ8pXFXelMg+abG8vGDvdOM7/WkmUxXRz8HCBzjDybU3PXMVNSt0uhz5bhi1PWXQfstgCGYcuyKu76EefpMHIBRLXDlLKQDK5AAZQq4xUw=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1791714629; c=relaxed/simple;
	bh=VaVUIa6xV/Mgc5QCMYUmP1Ndx8oEMQyTc8zc9KgNkfM=;
	h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References:
	 MIME-Version; b=hkM7Ga98Mzlu4yQH+8ZHAkCv6Np7mhZkjhJdfXjrw5Avaeo5LLR2zG+u1QZ1v7cwyFTKYWdVP6mp8UQGJrK/+0bGg0qwZwoBVs7PsIrUSFgiL9VhPl8Gqi+cqV0TTc8xkYBKuYXfovpYb/y7wA1FCqmFzbvtx6hiiL3MJ5UApNY=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmss.chinamobile.com; spf=pass smtp.mailfrom=cmss.chinamobile.com; dkim=pass (1024-bit key) header.d=cmss.chinamobile.com header.i=@cmss.chinamobile.com header.b=jK/CA/8x; arc=none smtp.client-ip=111.22.67.139
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=cmss.chinamobile.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=cmss.chinamobile.com
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
	d=cmss.chinamobile.com; s=default; l=0;
	h=from:subject:message-id:to:cc:mime-version;
	bh=47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=;
	b=jK/CA/8xg3M465P+mkUbZCrvspjKvGyerE9JuBg1cu+tloxTauuX6t+S+3byomWX8eBdWWp9mEaqM
	 rHzpFMJqBTn/IIRa57dVOWgf6pvGbnFzeLwfSaVmAVBb8h5XiYT2O9uoNvr9vcx92dtxT4qIHHc5c9
	 GuNghhy1eSFQZ+Q4=
X-RM-TagInfo: emlType=0                                       
X-RM-SPAM-FLAG: 00000000
X-Received: from spf.mail.chinamobile.com (unknown[10.188.0.87])
	by rmmx-syy-dmz-app05-12005 (RichMail) with SMTP id 2ee56acb653f213-cd15c;
	Sun, 11 Oct 2026 18:30:24 +0800 (CST)
X-RM-TRANSID: 2ee56acb653f213-cd15c
X-RM-TagInfo: emlType=0                                       
X-RM-SPAM-FLAG: 00000000
X-Received: from openEuler-24.03 (unknown[112.22.251.201])
	by rmsmtp-syy-appsvr07-12007 (RichMail) with SMTP id 2ee76acb6537077-676d3;
	Sun, 11 Oct 2026 18:30:24 +0800 (CST)
X-RM-TRANSID: 2ee76acb6537077-676d3
X-Cc: netdev@vger.kernel.org,
	willemb@google.com,
	martin.varghese@nokia.com,
	davem@davemloft.net,
	edumazet@kernel.org,
	kuba@kernel.org,
	pabeni@redhat.com,
	horms@kernel.org,
	shuah@kernel.org,
	linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org
X-Mailer: git-send-email 2.43.0
X-In-Reply-To: <179168180510.434549.891701914488385708@kernel.org>
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>