🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3501

Re: [PATCH net-next v5 8/8] net: bcmgenet: reassemble jumbo frames from status block fragments

#3501
From: Nicolai Buchwitz
Date: Thu, 15 Oct 2026 08:56
16 lines
6460 bytes
On 14.10.2026 16:22, netdev-bot+sashiko@kernel.org wrote:

> [...]

> [Severity: Medium]
> This is a pre-existing issue, not one introduced by this patch, but 
> this
> hunk touches the DIM accounting. Should ring->dim.packets and
> ring->dim.bytes be cumulative counters?

Yes. Neither has ever been cumulative, ring->dim.bytes is assigned the
same way two lines up. This patch only changes packets from a descriptor
count to a frame count. Another one for net.

> [...]
Technical Details
Message-ID: <2a6ab59bcc44dee8db033e96e883fb7b@tipi-net.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-346623-linux-kernel-netdev=dewy.ru
References: <20261013-nb-genet-mtu-nn-v2-v5-8-076b6fc240be@tipi-net.de> <179198777861.434549.7442931129502036522@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-346623-linux-kernel-netdev=dewy.ru
From: nb@tipi-net.de (Nicolai Buchwitz)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next v5 8/8] net: bcmgenet: reassemble jumbo frames
 from status block fragments
Date: Thu, 15 Oct 2026 10:56:52 +0200
Organization: Usenet Network
Message-ID: <2a6ab59bcc44dee8db033e96e883fb7b@tipi-net.de>
References: <20261013-nb-genet-mtu-nn-v2-v5-8-076b6fc240be@tipi-net.de>
 <179198777861.434549.7442931129502036522@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: usenet.network;
	logging-data="2489896"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:MTLkXoyFgrjc9Z22tUZHzWxUH1Y= sha256:XUdf3W1Dylji4Wk3E4rTFspPrehKARe3A0TH8fBr/wo=
	sha1:Jf2k0G+ooAw4JKvRoqo1H9jtqqY= sha256:CNzPSCado82gVi0tYn2g24T737vJu6JhyGV2nRmG59w=
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 0DBD211028E; Thu, 15 Oct 2026 11:59:27 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -0.85
X-Spam-Status: No, score=-0.85 tagged_above=-9999 required=6.31
	tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,
	HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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=tipi-net.de
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 7ZT1C7P95SMa;
	Thu, 15 Oct 2026 11:59:24 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-346623-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=none (p=none dis=none) header.from=tipi-net.de
X-Received: from sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id 8A53A10F7E9; Thu, 15 Oct 2026 11:59:15 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sto.lore.kernel.org (Postfix) with ESMTP id 9C8CB607688; Thu, 15 Oct 2026 08:57:50 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id B0F524E77FF;
	Thu, 15 Oct 2026 08:56:59 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=tipi-net.de header.i=@tipi-net.de header.b="jLvkTqWc"
X-Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246])
	(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 46B8948551D;
	Thu, 15 Oct 2026 08:56:55 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=194.13.80.246
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792054619; cv=none; b=gQW96NV0mVcSfrXvQETaJwYlvZer8h/Np9CvtGo8tVyz6KI11teq3obPfTQkgAvqoXKfsDtIHkEqmlq+BT8OWWShbyKb1VxWzWdHHeONPYUxlce/hEVN8nWGvyMehOlrEiewqBGHqIvsuwqFIkq4N4PkzXL71qgucA+ziYF60/0=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792054619; c=relaxed/simple;
	bh=Z8N8NgeSBvvlK4Sf3zvGZG6zrnRFc0U6EN7ecs7Aqi0=;
	h=MIME-Version:Date:From:To:Cc:Subject:In-Reply-To:References:
	 Message-ID:Content-Type; b=j1/7Fn70GvVlY62Dx3SzV136WxibpcRAzaGt9oMWoYrO8rWSuhE656midbT4Ngs7nEk8ygoPhUzTx/oy9HY7/8u2b9dWQb00n6qRvvRW/K8GMbgA5Z6lYb55YbQyjuRnlf5+8s0H3UFGgV0+zDr7rOYZZUbBEv++svhzgxWchJ8=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; dkim=pass (2048-bit key) header.d=tipi-net.de header.i=@tipi-net.de header.b=jLvkTqWc; arc=none smtp.client-ip=194.13.80.246
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=tipi-net.de
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tipi-net.de
X-Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 278B9A1595;
	Thu, 15 Oct 2026 10:56:52 +0200 (CEST)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim;
	t=1792054612; h=from:subject:date:message-id:to:cc:mime-version:content-type:
	 content-transfer-encoding:in-reply-to:references;
	bh=LCIDmcWieddnF9CQQL9rThTyxbbGVha74X8K+RKD8Wg=;
	b=jLvkTqWcPtdwWj9TUgqaMJxZn051nvIwBwkBuw+dB54Hm5gfL2zdU2/zjb2XjCi+ZAmFzs
	qoQjDmipdFbIB97dJH3zcQvwb9CLt2qru0Oh/lhF53tlPVKK767gH1Xn3c5sDq1zjDQlgh
	Fuiqq91w14GCXQWfsaKA4yMrWybyp5PLAt6EU1t0SSmts520dCF4Yt0Jxgo5cEAtTLZ63K
	2Q8lVzrp1OQa0pTWm/yLfoxw4OiqAZ7HC4tY8w7zeZFIQ4LPO0mCFuwUIUsltbCnV2zimR
	RTD0svfzOQGLm4deHeKdjHwBvx3el/F6gLyTZPPuSLe8DDPKq9iRYt8otaEbDg==
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-Cc: opendmb@gmail.com, florian.fainelli@broadcom.com,
 bcm-kernel-feedback-list@broadcom.com, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org,
 dave.stevenson@raspberrypi.com, justin.chen@broadcom.com,
 pierremarinleclercq88@gmail.com, f.fainelli@gmail.com
X-In-Reply-To: <179198777861.434549.7442931129502036522@kernel.org>
X-Sender: nb@tipi-net.de
X-Last-TLS-Session-Version: TLSv1.3