Article View: linux.kernel.netdev
Article #12385Re: [PATCH net v2 5/5] net: mvneta: keep the TX rate limits across open and MTU change
From: netdev-bot+sashiko
Date: Sat, 07 Nov 2026 01:38
Date: Sat, 07 Nov 2026 01:38
57 lines
10053 bytes
10053 bytes
Thank you for your contribution! Sashiko AI review found more severe
issue(s) in other patches of this series. This mail is only an FYI, in case
you want to address the nit picks below when you respin.
Low priority / nit picks for your consideration:
- [Low] The commit message of "net: mvneta: keep the TX rate limits
across open and MTU change" does not say how the bug was discovered,โฆ
--
net: mvneta: keep the TX rate limits across open and MTU change
This commit stores the mqprio bucket refill value for each rate limited
TX queue. It then programs the rate limits again from
mvneta_start_dev(). Without this, mvneta_txq_hw_init() leaves every
limited queue running at 10.23 Mbit/s after the interface is brought up
again or its MTU is changed.
> Tested on a Turris Omnia (Armada 385) with 1 Mbit/s limits on a
> 100 Mbit/s link. After the link was set down and up, or the MTU was
> changed, each busy TX queue carried about 10 Mbit/s. With this patch it
> stays at about 1 Mbit/s.
[Severity: Low]
This isn't a bug, but the commit message may be missing two statements
that the netdev process now asks for in fixes.
The "Bug fixes" section of Documentation/process/maintainer-netdev.rst
says:
All bug fixes must state how the issue was discovered and validated,
and how the fix was tested.
and:
The testing statement should explain whether the fix was tested
against the reproducer and against kernel selftests.
The paragraph above names the hardware and gives before and after
numbers from the reproducer, so that part is covered.
It doesn't say how the problem was found, though. The document gives
examples such as "observed on a machine in real use" and "discovered by
manual code inspection". There is also no Reported-by or similar trailer
that would imply it.
It also doesn't say whether kernel selftests were run.
Could the commit message get a sentence on how the issue was found, and
another on whether selftests were run? This requirement was tightened
by the baseline commit f56daaadfecae1 ("docs: netdev: try to force
agents to disclose info for fixes").
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261103125021.70845-1-pepe.schlehofer%40gmail.com
Technical Details
Message-ID:
<179401553657.994134.8119365679563489731@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-358259-linux-kernel-netdev=dewy.ruReferences:
<20261103125021.70845-6-pepe.schlehofer@gmail.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-358259-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2 5/5] net: mvneta: keep the TX rate limits across open and MTU change Date: Sat, 07 Nov 2026 01:38:56 +0000 Organization: Usenet Network Message-ID: <179401553657.994134.8119365679563489731@kernel.org> References: <20261103125021.70845-6-pepe.schlehofer@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="4018884"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:lgBdihHpt8srNxnTGu9dlpIAdrE= sha256:LqmkCZoE+iDQY87g1H7GJtnOlqdu4WnPw5Ea9A5ifyk= sha1:BoTFfyOFaOconpyT+1yzrgJGkNk= sha256:J8FGp8jX30Iso+5Z2ODWk3jT9k9+9wgAKaWtI4APES4= 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 BFB8B113397; Sat, 7 Nov 2026 04:40:57 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.4 X-Spam-Status: No, score=-3.4 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.001, 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, URIBL_BLOCKED=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 S1lWcyCalT4I; Sat, 7 Nov 2026 04:40:54 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-358259-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 10413113392; Sat, 7 Nov 2026 04:40:46 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sea.lore.kernel.org (Postfix) with ESMTP id 4089A330EE; Sat, 7 Nov 2026 01:39:09 +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=1794015549; b=HPiltUQuTT/49Kt98kvDWk+M85t5ES4dzJ4/5GOxLd69Sr/gBmbnC9zJFfeJJSzRmHxv Vnr4l4d8pZ/nDOyKtqnMchRJB759ETu1uo956mHlsLQxcSiSf3LWok1iEcTn6YZL++6z5 U2hMmbs801z1Kud1OMErqf3Ydc/0mAvE1D78kFqo6ZThaKQrbuYFPWPUWQq3Kw75F7oqX NEZX4f/h+Qkwi9G+jqCqYbawLel5itolgaKOWqwbp8yuNuD8X/GF4gj/C4C6nC/BrRyu3 oYB5NnsmnIkTHRNNyzUZhS6zaYu+SvHzPpB+H1RwHphCzJuD86tBDcLUSVItUvhhmlQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794015549; h=X-Original-To:Received:Received:DKIM-Signature:Subject:From:To:Cc: Date:Message-ID:In-Reply-To:References:X-sashiko-severity: Content-Type:Content-Transfer-Encoding:X-Mailing-List:List-Id: List-Post:List-Help:List-Subscribe:List-Unsubscribe:List-Owner: Precedence:MIME-Version; bh=fBx8fIg7q+AUQrtKXGrJRvTA5S00RQ78AYgios3WxSU=; b=qcmbCxNCKwmgiIxz0leMxk2NJHwhJ1G3IzC8HY7mPrV9XI024+suxxUPD4t3rCn2S/1J Q3u9sfTAWrZRegJOn3RlO6l1FJrVO/vNcnYtp97FGV5OBJOAs4ZIamzYRHwHu16n6POzU WledA6kyyLrDmClFJt0Uorx+cLaiVqLZ9cuibMZAfmybesYVLmL2/wUqQ3cluTHv1fe+u ycyauJFCwYJ9DDLyig0Tk2VJGyXXf4HlZdstbubM167/TPcEtoJdmDrkjg3cHgzNnMS2k Adx6CRKEegMiF0K7de0i2O4KmsI8zO3rgBqYsPojM82cxToBYomqg5zEo7oKk2x4Sww== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Isu3ldAQ; 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 0F8A9606A330; Sat, 7 Nov 2026 01:39:09 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Isu3ldAQ X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1794015538; b=vTjIo5sjAdWYaYCJcP5ok+eYCH9pF7zYDmuRVcBvYtO6nVnoQu/B8RlBQOk9wTUvZ5/6 pl9uAi/yPmyjUpB6nEoJcfOXwUs8Qkebr2P/NR292+xPfJJ4gEamQabSIdm/e/T5qwGN7 /z18891zZXiM7IJlw2jihXoLVwpxsxDWwjZpcqv6NmLum8ngsXOuU4YGGepr6wJ8MhPmy LcYIzCbCXYm6HkXQ8OJckF/oOYmvOPzYudyIkE3mG85+x1NmEN7vPliMoN/z7cGe+68C6 oMAAyaYzyGo8TtA8U2ZeIg1AD4tsMS5KviiNDqQCRfTaJGzhXVJaveVJx+yeyIVfFMw== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794015538; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=fBx8fIg7q+AUQrtKXGrJRvTA5S00RQ78AYgios3WxSU=; b=inuCHybOY48nD+fOQCF2mQGRwdXMaxthaV06Oqmw28ZsVFAPCvZyIDoWl2bjOZCIbGtZ cQb9Cn/zhStoN+Os/iG1XPAfZve4mFpsA/hpjDe5un+HKZDlKIpV+miLgKQ2Uc7WAhbGG tXZNcvQKSFutgdahRNSwu70uHPTL6Vg87cH51ZXotCNADRXe+Kq69FrM6RZRMserKEtbj ugyJeEQHXoLgJ5avpKa8wtvQyaclE2RgLy/Yuab6w1+Pa8GfAv4U7KI5IUFBUg0OPGpZU mitMphrcwA3UVjGjrQSn4NkrSTMkK3YLd+NasrDwDPYiWBlQNpUNS02JL4S53xtS/Ww== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Isu3ldAQ; arc=none smtp.remote-ip=100.103.45.18 X-Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C79A9606A32C; Sat, 7 Nov 2026 01:38:57 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 152011F008A1; Sat, 7 Nov 2026 01:38:57 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794015537; bh=fBx8fIg7q+AUQrtKXGrJRvTA5S00RQ78AYgios3WxSU=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=Isu3ldAQ9MG9GR8//V88uu3yPh4SDFFHCmRvZ/JAj7mlra/hfv0VC+d1MT2tO19w7 w30NazjxARUBaChL0sYwjWJX13QIQWRX95Q/m80We8fWe8u2D24oHohTr4+e8hpiEx JbkJYTdH9LZt2uj+eiYoxuJ6RbV6k5jYxnoq8EuLHfczaJX8YFXCge0RAueOV9wyXU nHkHEkTPtH3PNYWpDBHk1eiRQgf962zlCpwxAepd12M2tM8YOkyJD9Ay1JJ9llGapd QJmuPui9YvrpIiAamtWvUeRBMNBovF812Wa139NFJ1bBt77Y8W43+Xd9UuI28v2u9U YzqFZZX6F8cWw== X-Cc: netdev@vger.kernel.org, marcin.s.wojtas@gmail.com, andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com, maxime.chevallier@bootlin.com, w@1wt.eu, linux-kernel@vger.kernel.org X-In-Reply-To: <20261103125021.70845-6-pepe.schlehofer@gmail.com> X-sashiko-severity: Low 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