Article View: linux.kernel.netdev
Article #12898Re: [PATCH net v3 4/5] net: mvneta: keep the TX rate limits across open and MTU change
From: netdev-bot+sashiko
Date: Mon, 09 Nov 2026 00:23
Date: Mon, 09 Nov 2026 00:23
50 lines
9867 bytes
9867 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 for "net: mvneta: keep the TX rate limits
across open and MTU change" is a bug fix (it has a Fixes: 2551dc9e398cโฆ
--
net: mvneta: keep the TX rate limits across open and MTU change
This patch saves the bucket refill value of each mqprio rate limited TX
queue in struct mvneta_tx_queue. When mvneta_start_dev() runs, it calls
the new mvneta_restore_per_queue_rate_limit() to program those values
again. The reason is that mvneta_txq_hw_init() resets the refill to
10.23 Mbit/s on open, on MTU change and on resume.
> 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.
>
> Fixes: 2551dc9e398c ("net: mvneta: Add TC traffic shaping offload")
[Severity: Low]
This isn't a bug, but could the commit message say how the issue was
found? The patch carries a Fixes: tag, and 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.
The message explains the validation and names the hardware used for
testing. It doesn't say how the bug was discovered, for example seen in
real use, found by reading the code, or found by a tool. There is also no
Reported-by or similar trailer that would imply it.
The same section also asks for a statement about selftests:
The testing statement should explain whether the fix was tested against the
reproducer and against kernel selftests.
Could a line be added saying whether the kernel selftests were run with
this fix?
--
Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261104224518.66487-1-pepe.schlehofer%40gmail.com
Technical Details
Message-ID:
<179418382458.994134.13358702184048740523@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-358927-linux-kernel-netdev=dewy.ruReferences:
<20261104224518.66487-5-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-358927-linux-kernel-netdev=dewy.ru From: netdev-bot+sashiko@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v3 4/5] net: mvneta: keep the TX rate limits across open and MTU change Date: Mon, 09 Nov 2026 00:23:44 +0000 Organization: Usenet Network Message-ID: <179418382458.994134.13358702184048740523@kernel.org> References: <20261104224518.66487-5-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="236212"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:RkI+4MFOoa0rOPqRpaUFPzY22e4= sha256:sN1DNBUEJKkIpGj4wOzR2MXiKWRgj4Z/AM9wJIiy3Bw= sha1:WeDrPuTvVvGZyKMJaS0VprChdJE= sha256:bPLxqrJxvjZfHFMwY4eEmG0e9yZ9e5NnN9k4IYf9W6s= 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 BAD3411366F; Mon, 9 Nov 2026 03:25:07 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.401 X-Spam-Status: No, score=-3.401 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] 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 qduYMYnwIdXy; Mon, 9 Nov 2026 03:25:04 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-358927-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 1DD2D11366B; Mon, 9 Nov 2026 03:24:56 +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 B250E695D2; Mon, 9 Nov 2026 00:24:03 +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=1794183843; b=gscrJ3t5yhdJQk+GmmRL4wR1ysZKR03v/aVthGFbSACzt0RbPtBB4KTnkkH8xVK+rk/P qmTWeefK5ibWNECsuJvDRm7lK/b+ABO0Xnuwbjr5LEVpMqzpeBOws5u30XrCr3s3FQBru Dernsnqavc6/5bF9ws46X2aK1ckbtf2esiyUBJmddvIFH0B2RX664bfnLvE2KQavHj6xX OcSQwr5DcmXQiDEM+eJf7cRp7IUUz0EHSBcdrLq1Icgqv8eY+QzQg6fVMk6t2xu3Zj4Fh WHIAOk9FffuCzAxKwVDjk9WW9FqzAkrG8OyKTtniyb21nbY+77Sij/md/rzIDGQi6TQ== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794183843; 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=DkX6KBsgv2qzyLNxo91uw6wgKh4tAOWSDrtHuM+maXg=; b=U7/Zu+U2od0v411Ibs62EE4hUMYI6diuw6JFQHE0hsne1xp/8iLgjd6GBeiUFV53fbkd HmqkCuXqHGEglR2X0GQZYmPK5z4WUF03K7bv9IBVpbOywH+WEosMj716LZN16RvWbdSql OJS2cPfny+WF0jaMOpZfoV+w+0cBUONLar/o/ybNUoxPAZu2avZFQP41+S+CXS5ieC3TA 2oe3pt2N7g7R8yFoyUWFVdoMMQgRG0F0+akhn6nrjt6Bz7/pHrHmKvzKgDJxTTNvbMJr7 mxhZ8S1aLlk6XwgRdFLUNvVWqEx3f0nWGt4vlAvGvJvO6o12XlQX4hNYTlBgv70P8YQ== 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=oEjYddBB; 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 87469606A334; Mon, 9 Nov 2026 00:24:03 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=oEjYddBB 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=1794183837; b=fv+J4KWSbSfAqiPE1epRbFa+5uQxdTMGd8wAtk8Iaz88RaFMML9ewv3t5rjEtXfzGKdV EJdlNRS3tm0cwmpvyhnOjpUbXF7dzG5Z2s4T0lJIY4dld29uyYOiZT6nBvvfV0KONahQG aYIHCAfwqvZPntM/o2PQBLRfSZ8qxubFIYwshTmkItJRr4X9wyn2r+Y+PUz+PDIirZhwA IHFCZGkSdYepO9qNPThKaG4hw1pntjS+xc/iox9B6wE4oRYaF6SWfBDPk51sRsUoVG1O1 EGh92t4Tm2eOZFfhARtwpqooK9IExC3AtliRrvWbB9Hsw838YKVfZslxtmLdse4lYjQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1794183837; 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=DkX6KBsgv2qzyLNxo91uw6wgKh4tAOWSDrtHuM+maXg=; b=D2fxmgqYqS3sLqFVK7QnHBYs6QRRcY9Q4He9Rq1eihbktCX9EitDRsiPoPeBl5+4u4g1 2iyFnru3s7n8Arhuw+KY67OCuu/8zN6wu74tTdijfr+ly8Z6DECR556+PWwn9U23soZle v68E2WuKUEaoFB2qKmDFHbpVc+9Zfup+Evz6ZGxK7wEsKHyi9vJTxwI1M8plZ+EV/PFWx u0Xg5e/ZkPuBBSE6yi9P79AiMiAtSBeu3WEpchbNvo9T628wOTTgGxw4PWFO/cHVrzkwu xHPPFEJhUxStk5TDLZlxYAd6R0Vai/InnDRqRAZiUVM2tDJvhiZINEwtQmOtTj4v4gw== 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=oEjYddBB; 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 14527606A321; Mon, 9 Nov 2026 00:23:45 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 11EF21F008A5; Mon, 9 Nov 2026 00:23:45 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1794183825; bh=DkX6KBsgv2qzyLNxo91uw6wgKh4tAOWSDrtHuM+maXg=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=oEjYddBBFnh05leLCuQZkU0mhaH+0F85M+NnBWM8bRdt40/GQaboncWWgM2fryd8/ KU3C30xLJGGMzxJdZpBXgsdIweVL2HarzzAkc59PkovhHHVSxBSNu0UX7v0Kgn3nUj TtvOIJJw6aDxDeD2uSmzKVa2xN/WYp5E7Z1p6O3Cglxju6AjubpHDNjJv/G6tD03sJ I92IcwqhWSZybXgS9Z9Bsz3ZAKEOgp9h9UdnUYs7FOEMqSnbiLDjR9NC4dGPpJLjIP IaSXQXH0u7OR60iLU/tY0esbM/AHUwDLKXoFucff5K3GSW4gidjXjXfhMXR528LHx1 icPgoZoNnfxLA== 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: <20261104224518.66487-5-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