🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3966

Re: [PATCH net-next v2 7/7] virtio_net: cleanup protocol calculation

#3966
From: Björn Töpel
Date: Fri, 16 Oct 2026 11:52
8 lines
5955 bytes
"Michael S. Tsirkin" <mst@redhat.com> writes:

> A trivial cleanup removing a duplicated code line.
>
> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>

Reviewed-by: Björn Töpel <bjorn@kernel.org>
Technical Details
Message-ID: <87mrsd50cf.fsf@all.your.base.are.belong.to.us>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-347313-linux-kernel-netdev=dewy.ru
References: <cover.1792067836.git.mst@redhat.com> <3c828204754ba2218e419f8d0a20bede7d8dffe1.1792067836.git.mst@redhat.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-347313-linux-kernel-netdev=dewy.ru
From: bjorn@kernel.org (Björn Töpel)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v2 7/7] virtio_net: cleanup protocol calculation
Date: Fri, 16 Oct 2026 13:52:32 +0200
Organization: Usenet Network
Message-ID: <87mrsd50cf.fsf@all.your.base.are.belong.to.us>
References: <cover.1792067836.git.mst@redhat.com>
 <3c828204754ba2218e419f8d0a20bede7d8dffe1.1792067836.git.mst@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2753780"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:poufefUzh7xHDfT3ViEvW/5JRwA= sha256:5tyI8XlZzhGXjsAzjIGE3McRN+DNQfvHOAc4kntu1xQ=
	sha1:Vf2Mkx5X+xOguKEZfE/xyeiaMu0= sha256:cS0pMeCWtNStq019ut47Z9JiO1YrVJMuGmREhslVkVo=
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 7C84B11050F; Fri, 16 Oct 2026 14:52:56 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -1.34
X-Spam-Status: No, score=-1.34 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, 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 hkQwWQhp7Ti1;
	Fri, 16 Oct 2026 14:52:50 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-347313-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id BC7861104FA; Fri, 16 Oct 2026 14:52:40 +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 F1EA33C10E; Fri, 16 Oct 2026 11:52:37 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id E149F47A0DE;
	Fri, 16 Oct 2026 11:52: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="bXJhVJuS"
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 E20F54772B2;
	Fri, 16 Oct 2026 11:52: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=1792151556; cv=none; b=dtk64DJbhlvo6QQaoau8OOfLh7pDOwGfnRqcKKn2It+Tm2Az44N3t9zyrce4zowYRi8nQ2n7yWhRi+TggGBy2qhj1oLxzRHdAmBo2a0R8kXqNr+IN/jbG2wtOXifNRTJMLTyuW1UqEU1gM/gl6vBv3TSRmqmFa4BoRgpdWe0PHA=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792151556; c=relaxed/simple;
	bh=oa9f/2v1sR+ykNNWDoUx6e84AN0mDVBk+4Ba+4On3u8=;
	h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID:
	 MIME-Version:Content-Type; b=onVqcCxbujfTANCQDt7nzSj/3XyV7mYp5AWx4u7kKf/cmF75In7WPKd/XnrxaRROr2mdZtcdO2yZ/CdG3CTfl7k3CCmk/VLg3b4LsA1x0cFVBnI9D/pa8VrwKvSap5riy5oPxpa/48DPuuwqWmzpOzmOwky30oBIAzTVcoCMMwA=
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=bXJhVJuS; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1909B1F000C7;
	Fri, 16 Oct 2026 11:52:34 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792151555;
	bh=oa9f/2v1sR+ykNNWDoUx6e84AN0mDVBk+4Ba+4On3u8=;
	h=From:To:Cc:Subject:In-Reply-To:References:Date;
	b=bXJhVJuSfGPszEBsc3oqDZOybZVKfDR9jVQN1GTbPnAd9DP2MhsdFsiIoJTSSDYoJ
	 UipWIA9XIKKucazhfzv+s9BqfJ1G97JiwAIh3eQH8DLE/rUaNhYbxLOnMwnfjajVcD
	 ySDMFZPvrPz7Dk9OD4iTkL74dBIquAfU//8hYPmEMaOWbAhY3hi+ZMwIgH+u+zEUZZ
	 xk7DfOVXGcUGKyWMGAi/6pAfUPFwgTstII7aci7tRRddgqlvg4+aIfmnzmUJXOBiFz
	 C1q0iO6o/TlT6rW3X71i1AR85y10Tm2mDJLqNf6FvyDFe3UrC97VfHyEtC94LzrShs
	 3ryCddCgAXZTg==
X-Cc: Willem de Bruijn <willemdebruijn.kernel@gmail.com>, Jason Wang
 <jasowangio@gmail.com>, Eugenio Pérez
 <eperezma@redhat.com>, Xuan Zhuo
 <xuanzhuo@linux.alibaba.com>, 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>,
 netdev@vger.kernel.org, virtualization@lists.linux.dev, Rusty Russell
 <rusty@rustcorp.com.au>, Max Krasnyansky <maxk@qualcomm.com>
X-In-Reply-To: <3c828204754ba2218e419f8d0a20bede7d8dffe1.1792067836.git.mst@redhat.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>