🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #4118

Re: [PATCH net-next v4 2/2] selftests: net: big_tcp_tunnels: Cover bareudp

#4118
From: Simon Horman
Date: Fri, 16 Oct 2026 19:11
16 lines
6375 bytes
On Sun, Oct 11, 2026 at 06:20:23PM +0800, Haishuang Yan wrote:
> Now that bareudp allows BIG TCP too, run the same checks over bareudp as
> for vxlan and geneve.
> 
> bareudp only works in external mode, so attach the tunnel metadata to
> all packets sent through the device with a tc tunnel_key action on
> egress. The device uses ethertype ipv4 with multiproto, so that both
> IPv4 and IPv6 traffic can go through it. Its MTU does not account for
> the encapsulation, so lower it to leave room for the IPv6 and UDP
> headers, otherwise the encapsulated packets would be fragmented.
> 
> Assisted-by: LLM
> Signed-off-by: Haishuang Yan <yanhaishuang@cmss.chinamobile.com>

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261016191130.GQ363352@horms.kernel.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347504-linux-kernel-netdev=dewy.ru
References: <20261011102023.1603595-1-yanhaishuang@cmss.chinamobile.com> <20261011102023.1603595-3-yanhaishuang@cmss.chinamobile.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-347504-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v4 2/2] selftests: net: big_tcp_tunnels: Cover
 bareudp
Date: Fri, 16 Oct 2026 20:11:30 +0100
Organization: Usenet Network
Message-ID: <20261016191130.GQ363352@horms.kernel.org>
References: <20261011102023.1603595-1-yanhaishuang@cmss.chinamobile.com>
 <20261011102023.1603595-3-yanhaishuang@cmss.chinamobile.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="2854890"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:hnUwWmOC1sq74fMGmybR/PleWJM= sha256:346yz6ipsxrKDz9OMaGbz3upu50cyPYx0K7LU3/q3uA=
	sha1:5aOiCayenfoyclJ6P4oYN+2ZW1w= sha256:NB0Lqdr0kXP5gQhbM8pgcr6CeV1W4j7IYWK7WIp6oB4=
Content-Disposition: inline
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 EBFA41105D7; Fri, 16 Oct 2026 22:21:24 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.64
X-Spam-Status: No, score=-3.64 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.24, DKIM_SIGNED=0.1,
	DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
	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=kernel.org
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 J-jGYY5czQJA;
	Fri, 16 Oct 2026 22:21:22 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-347504-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=pass (p=quarantine dis=none) header.from=kernel.org
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 9839B1105B2; Fri, 16 Oct 2026 22:21:12 +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 A8F2B64625; Fri, 16 Oct 2026 19:11:44 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id A75584B3CBB;
	Fri, 16 Oct 2026 19:11:36 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IGSsUU16"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6438D4B920A;
	Fri, 16 Oct 2026 19:11:35 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792177896; cv=none; b=qIiusWTlFIm3iNFOmHn0qASqoROC/MbOMppKtL6Ujn0r8SwR8PXomYYZuBFNm3pakoY3NDiHKIrVedhSlpB7Ka7ASpLuYGS+3W+ZSakPd0GRiY4kjx+t2qlrj1F/bmaLBIwKYezMkKn9wGSyQg/ga13U3BJL2vzVzue4LtsBK1k=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792177896; c=relaxed/simple;
	bh=gjH6ux9/CigwD9+Mq+IjIYt7czfNODQFlEwDOIEcbgo=;
	h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version:
	 Content-Type:Content-Disposition:In-Reply-To; b=gKYbwf7beH7xfYlan2WMLNUQ/PVJD5pvpO9lN6V13QmbaylGKHxDJdPQY68NY06uiDGonvOWIJhyRjNM+e7i4P+HhrfXNpG84uFbV9ojq6C8UQXKrnRHzSbY+JeYyPg7+tJJSGmHE9BUNpoMH+cVE/x55H0/EOpIUHPoeuTfInk=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IGSsUU16; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id D30201F000C4;
	Fri, 16 Oct 2026 19:11:32 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792177895;
	bh=J2j1LNLr7By959XSlo4ZiGSoARkrvuevt/yFJn5g9kE=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=IGSsUU16HpYSWfBbYe/HiwYqYejiEqzKDe1Klh5HULcrkXtkVrZeeUaIn19OOwDPq
	 4zOdaryBP3t6Sfv0m+BTWAZXU3Hn4Ap0jTJXjhKX28oW3FacMl3k54P5k/1jT+IGf+
	 KpKBbveEuAkIookcSlNfxgi0N1L1A/qwTIxCdj0WSSp7zq5oJga9heCqotXgNGw3j/
	 xZFmeQx0bXV7vdUnhXqUBEduXMzaC8R1kEcGcLceKRBlORfd/tEgyZfl01NkeHtqE5
	 MJBXrNc+wULcOZ5i761qXAcCfrsc+t9PtXJ7ljeI2hSqVvkJ9xjHxf3fhJijuIKiel
	 JOyeh9HN52e2g==
X-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>,
	Alice Mikityanska <alice.kernel@fastmail.im>,
	Daniel Borkmann <daniel@iogearbox.net>,
	linux-kselftest@vger.kernel.org, linux-kernel@vger.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>
X-In-Reply-To: <20261011102023.1603595-3-yanhaishuang@cmss.chinamobile.com>