🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #13926

Re: [PATCH net-next 2/4] net: dsa: motorcomm: Fix RMON fragments stat

#13926
From: Andrew Lunn
Date: Tue, 10 Nov 2026 13:21
12 lines
8629 bytes
On Sat, Nov 07, 2026 at 09:20:34PM +0800, David Yang wrote:
> etherStatsFragments counts frames with a bad FCS due to fragmentation;
> report the dedicated RX fragment error counter instead of the alignment
> error one, which is already exported as AlignmentErrors and
> rx_frame_errors.
> 
> Signed-off-by: David Yang <mmyangfl@gmail.com>

Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Technical Details
Message-ID: <0900eff3-eb99-4b05-814e-35e186264bd3@lunn.ch>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360240-linux-kernel-netdev=dewy.ru
References: <20261107132040.1066996-1-mmyangfl@gmail.com> <20261107132040.1066996-3-mmyangfl@gmail.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!nntp.comgw.net!eternal-september.org!feeder.eternal-september.org!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-360240-linux-kernel-netdev=dewy.ru
From: andrew@lunn.ch (Andrew Lunn)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net-next 2/4] net: dsa: motorcomm: Fix RMON fragments stat
Date: Tue, 10 Nov 2026 14:21:22 +0100
Organization: Usenet Network
Message-ID: <0900eff3-eb99-4b05-814e-35e186264bd3@lunn.ch>
References: <20261107132040.1066996-1-mmyangfl@gmail.com>
 <20261107132040.1066996-3-mmyangfl@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="623609"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:qhK3HFINHbYBZLoHXwHBpLMECQ0= sha256:EZ44cVnMq2KZ2PqI+cAdpE+uZ///EC2ZLeJ3D8W2sus=
	sha1:rG+2qJsPrIwueo1Z4Ab62h48Rxg= sha256:ZKhhsEKt9jE+IHcJ8uWwmchFup9kAQ8vwJdzSx0wKOc=
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 AD1E6113BC2; Tue, 10 Nov 2026 17:10:48 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, 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=pass (1024-bit key)
	header.d=lunn.ch
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 xiX1Y9ih5W5P;
	Tue, 10 Nov 2026 17:10:45 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-360240-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=lunn.ch
X-Received: from tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 18B231139C5; Tue, 10 Nov 2026 17:10:37 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id 4D5261619E5; Tue, 10 Nov 2026 13:30:25 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794316889;
	b=bRrREDTBy936Q+dvh/agcGJQ1BEA4qoD2giadUkdFSMoGPfxxMM6iv31iL6qMhquf9YF
	 emz0LZGsnZK1SP1wFWNrFSSfwNd+M3GMsAmj8CiFsebLttmnuHe9z4ZQ9EfFReCjf9KMi
	 zCs8dG7DD49PjyaCtrrHB78JCLYQoBfZo/+eDOo0e1HcONPmUE8EeXZf1hQK1dW1dbHng
	 2a7W7qawgLAgj5IjLup59VtoriBPSuPdhK/fa8/FSdBOAwNVoLE4hJdYHiYF4Q2Zq1U9G
	 jPqT8TDPQR4V56xYyIssr9R/WaW//6Ulu0s08gyxL4jabAszc2+zbM+qxS9yeBB3UCg==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794316889;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Date:
	 From:To:Cc:Subject:Message-ID:References:X-Mailing-List:List-Id:
	 List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner:
	 Precedence:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=QpQfPYpI+y9c1llUQddkcpk9DlThXv1YGiGLiMFANjc=;
	b=1WdT5MqWEXEH2zckBUq+/QmYWP/wGtq9RD2e/sOkqhKa6dl48BWzZyPHLxLf4rfeFXRd
	 H8DycQ3aCEwaxFpvha+y3l3WqLA8bfrnUzCX3ssNwklBKOsLgqFQjYb9RN3RgmXBxSkcG
	 I3QT1lR76di44ejBLSm1eZLBWw24wTw+JCHbo3lSxJTbv6Yu+T9+NpDly0Hs3EVk2txyh
	 EZ1mWpiOoWZePEXu2XcnvAHGh168lha+nMJNuh8RweleSPOUtMNfTn0cxB5qVwmObhNme
	 fNTTCU44a4RaLD0uNsMkODv0/Y6LydK8x9cxqvuitm/gs63hxXD7Pnd5BrYE+6n1TbA==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=6Hh1o9UK;
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	arc=pass header.oldest-pass=0 smtp.remote-ip=127.0.0.1
X-Received: from localhost.localdomain (localhost [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id A10F1607BCC4;
	Tue, 10 Nov 2026 13:21:29 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=6Hh1o9UK
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=156.67.10.101
X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none;
	t=1794316888;
	b=oGLu1BPSc9gn5LS0S0EwaGzMY5zlKDVRPL5MEKqn/yDRZfPV+Ap5BgOrcdrN1fUfHAKH
	 LlU87rFDvu6zzhhp48JuaKkkf15EuKhFR0tz2Je7tTk6APqZF9EHakWaB8aiaBkkiwWZw
	 zSfIeFEHUPQtSqYDn6mVvmfUy0NZv9gmYyV0/Sen9qIYiXUM359Uj/GpqtbYUhTb/5xtJ
	 SNZ4aec88TZFpUSoyyanTrE6Nv6bbfkcv9rSmwnB2n7oIIyGDtWsPXslaFDpEK03iR3LX
	 J4CPoSsJig33evQyk6ZOjVEJPLbQDcOpxHVwI6WynoRCUZCN4in91FK5MC9jC5uooEg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794316888;
	h=DMARC-Filter:DKIM-Signature:Received:Date:From:To:Cc:Subject:
	 Message-ID:References:MIME-Version:Content-Type:Content-Disposition:
	 In-Reply-To;
	bh=QpQfPYpI+y9c1llUQddkcpk9DlThXv1YGiGLiMFANjc=;
	b=43XSbQfNX8xpG5hpwOksTZwrULYthG4/AMBDFcShRBHLTuVQrJkjSnEwIxK51IVZvN9r
	 tTeKP3gE/b3yFARhvKsdi/XjQF8tbI/eh1KUUf7Q5YnL68lg9FsDmlERX+2KSkY/+DbJw
	 6AK3NyVHAnIzfximgNchBA3N/W3Xmr99A06T1Jk3+vi3g4Ryy21M0+Fd7dNVqGYDP9JFZ
	 /3T8yrifTDplFIcqh9hB9lUUvahjxHGMNpbPM8jOFnYfBV54z4hKcql317nKPY9dpEDWg
	 eskQzjL53Iy0zrGZumxrREmffo+7oSiY3M1tAX74JtUY5Vuu35ieOHS2KjJ4r+WffVw==
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; 
	dmarc=pass header.from=lunn.ch;
	spf=pass smtp.mailfrom=lunn.ch;
	dkim=pass header.d=lunn.ch header.i=@lunn.ch header.a=rsa-sha256 header.s=20171124 header.b=6Hh1o9UK;
	arc=none smtp.remote-ip=156.67.10.101
X-Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5B36960A6F4C;
	Tue, 10 Nov 2026 13:21:28 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 5B36960A6F4C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch
X-DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch;
	s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version:
	References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject:
	Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding:
	Content-ID:Content-Description:Content-Disposition:In-Reply-To:References;
	bh=QpQfPYpI+y9c1llUQddkcpk9DlThXv1YGiGLiMFANjc=; b=6Hh1o9UKTpaN3fNM5nslp4CAHR
	hFJ7MSu559jyP58a2kRcwheXI+5+5IbS3Rk7nlk2P19O5XFwyMlqfz6Hw+5OFBPzQ994f9L6nvPoO
	lopYaZaD8AONes34Z9DGryB9NSbyZOk5Ocrwk3jZhKQ+OfdjBactLEqv58V7PZG1SCZo=;
X-Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2)
	(envelope-from <andrew@lunn.ch>)
	id 1xQlms-00FU66-Og; Tue, 10 Nov 2026 14:21:22 +0100
X-Cc: netdev@vger.kernel.org, Vladimir Oltean <olteanv@gmail.com>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	linux-kernel@vger.kernel.org
X-Mailing-List: netdev@vger.kernel.org
X-List-Post: <mailto:netdev@vger.kernel.org>
X-List-Help: <mailto:netdev+help@vger.kernel.org>
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-List-Owner: <mailto:netdev+owner@vger.kernel.org>
X-Precedence: list
X-In-Reply-To: <20261107132040.1066996-3-mmyangfl@gmail.com>