Article View: linux.kernel.netdev
Article #20460Re: [PATCH net-next 3/3] net: stmmac: dwmac-sun8i: configure the pause time for TX flow control
From: Nicolai Buchwitz
Date: Sun, 22 Nov 2026 15:58
Date: Sun, 22 Nov 2026 15:58
19 lines
9546 bytes
9546 bytes
On 22.11.2026 15:49, Maxime Chevallier wrote: > When sending pause frames for flow control, we need to indicate the > number of quantums the peer should wait before sending more frames. > > This is maintained in stmmac's "pause_time" global variable (it's a > module param). > > Let's program the pause time value, and also allow sending the > zero-quanta pause frame when the peer can resume sending traffic. > > Signed-off-by: Maxime Chevallier <maxime.chevallier@bootlin.com> > [...] Reviewed-by: Nicolai Buchwitz <nbb@tipi-net.de> Thanks, Nicolai
Technical Details
Message-ID:
<19a0e0afd9e05731bbba69b6d765bfe4@tipi-net.de>Path:
mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368738-linux-kernel-netdev=dewy.ruReferences:
<20261122144926.284857-1-maxime.chevallier@bootlin.com> <20261122144926.284857-4-maxime.chevallier@bootlin.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-368738-linux-kernel-netdev=dewy.ru From: nb@tipi-net.de (Nicolai Buchwitz) Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next 3/3] net: stmmac: dwmac-sun8i: configure the pause time for TX flow control Date: Sun, 22 Nov 2026 16:58:50 +0100 Organization: Usenet Network Message-ID: <19a0e0afd9e05731bbba69b6d765bfe4@tipi-net.de> References: <20261122144926.284857-1-maxime.chevallier@bootlin.com> <20261122144926.284857-4-maxime.chevallier@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: usenet.network; logging-data="3671315"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:dN/WslqvVvn0Rgh27aQ0g4zVx/o= sha256:90BlDSacwed6wWhqUc/6/zGsLXlM8w8c2FJnYiD+BgY= sha1:stZ2X6jN0itl7m50w1Ptd+jSI1U= sha256:l7eJhtONF6Xds5TRS7xE4tPqqk/sXrn8zhuDi32Sw+A= 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 E76A2125D80; Sun, 22 Nov 2026 18:59:13 +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 (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 ixRcF6-HWfv9; Sun, 22 Nov 2026 18:59:11 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-368738-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 sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10]) by mail.dewy.ru (Postfix) with ESMTPS id C1794125D7A; Sun, 22 Nov 2026 18:59:02 +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 661BB2F3F4; Sun, 22 Nov 2026 15:59:01 +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=1795363141; b=Ujd0i+xADOqtcPxcVroumTrcIY3o7GtUhl6gzUoQ1n4tiDg4Dp3CWahMetXlJgVdpydY WEY3ChBcCzhSkkMnBq3Q6C5LpJQ6yK1/T+7A06H6O4P07x/YpFqH70zafwojNSYzwZJp6 PBHRNE3rjnYGfiEbJer4Y/ujDT4Q49kLO4tCnUsth9QZwBWyz6hCbL6S7Y/wGgphimMI3 9KWJ6bnMS5+9+41btpfQh2TEImk/w5mfer8pP2pNu6Of4jmhmaBGb3qF9QJYfHqZbWlmL /PX0Qw3pVw2StowXtQoUY6CMtIY0Q5eIAjALDwF4nvthzUIgmNrBiylOtUJTL5x5fVw== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795363141; h=X-Original-To:Received:DMARC-Filter:Received:DKIM-Signature: X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe: List-Unsubscribe:List-Owner:Precedence:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=2ZV8cdqFBGoUVN0JXYMIHWaqsQ8elfBEyab0KgL/LQQ=; b=z7J8FaltPrHxO1TcSxIsw3r+kQc3AAMvMVPXAMaP9tGfp+zib8tzeoSHalE8X5VoajSH cHLwcwlFo3KVSa2fDv2AXcmb2nHCI1xdFwojOa5khaiL1dIehAaVJl3z1UtaVkBMEsaP6 MX4wTxXyX8+KSEpHIapkZedr22WBqE3gR94+zJ/xQMTcZYJlOr5lZ8xU1hHJ25XQSLgbe dxzYUM1AH0pYe72lpfxgL82I/1LyTZZetKrw4ByIsDdPM+Ja/OoYWhcOtTS4KsSKQjbZV OJRiyGlay5YYcqp4zqY7YHMPZIjhkJWskUtsJelV47W/Fxb+HuMamoXC+Jm8j+2GIgw== X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=4lEXrQEZ; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; 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 3BA02606A336; Sun, 22 Nov 2026 15:59:01 +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.a=rsa-sha256 header.s=dkim header.b=4lEXrQEZ X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=194.13.80.246 X-ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795363135; b=mbkInLaG/Lk+VZ1melvOqO7Qcr3dLN97gv9hIU8sfBa4vEJteO3I+gRbMr6F4oRxgta1 /3fbDsy5tWm97iQycVEse78OCbiCsDD/bSeKH6dxNU9tBi97zsh545He3QihGSzuM6YE7 uTWFwUIDuAm4Ag4W1IKnVcH9TAJC3ZeebFZz+sBG9g4kl2ImbVgCIwMepd+ct8xAzhwaj nSoMBGU+IYJLoqA1eDnwY3vGQdwxje0zSE63otJngYbPE0Z8WgkQ43jBFFLsVDmvj87s9 0rX2DPMkkbqQuQ0Ysqdai/MMiUFAV6MuCGZgACwm67DX2ZN0vdclL0Mtrkuk+znAX+g== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795363135; h=DMARC-Filter:Received:DKIM-Signature:MIME-Version:Date:From:To:Cc: Subject:In-Reply-To:References:Message-ID:X-Sender:Content-Type: Content-Transfer-Encoding:X-Last-TLS-Session-Version; bh=2ZV8cdqFBGoUVN0JXYMIHWaqsQ8elfBEyab0KgL/LQQ=; b=t/yw15XuQzSQr0sXHb6dRTnhWlhcuB7fbtJay5cUa+3pgzI0p857iehDqXvl/Zanvf4X 7FB//BH57X/LXsHzm6wjxAweyb9vucVuqhi/2PVq5zfVhU0BqcK+ADeLdV2taV/LO56hN IfHU+aILYyxGlAVo4y3uN6n7xUsDQxUU3hvOnWq0L+ham0hUX2VTms5Ggo+S+uVJzmXjW wNE8QmQ/5mc27RZlGyHlTafJQBLx8p+jXSNsPOoLJnoQMg/bl2Dv3EBxMR1tW61T5mx+h 0QwIDty4TfnmymyAd2IBu6VgGNMRGe64wyj+JpzVHfKjuOthxz7nU3d6/znCNOcahPA== X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=tipi-net.de; spf=pass smtp.mailfrom=tipi-net.de; dkim=pass header.d=tipi-net.de header.i=@tipi-net.de header.a=rsa-sha256 header.s=dkim header.b=4lEXrQEZ; arc=none smtp.remote-ip=194.13.80.246 X-Received: from mail.tipi-net.de (mail.tipi-net.de [194.13.80.246]) (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 DC5F0606A32A; Sun, 22 Nov 2026 15:58:54 +0000 (UTC) X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DC5F0606A32A 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 EDCFCA157F; Sun, 22 Nov 2026 16:58:50 +0100 (CET) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tipi-net.de; s=dkim; t=1795363132; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=2ZV8cdqFBGoUVN0JXYMIHWaqsQ8elfBEyab0KgL/LQQ=; b=4lEXrQEZxrDyggcU/gr8xHKxGVKEtBXm1KE0CHNAsZYYAe/yR2fdv4/KxoE4PJ68qCUiXm Wa4EG6gQKhKJxwyZpZ+QoUnOXHVAW5F4vWj9bWStOh5lJuEDkbrlanXdwtymvXf3L+6GRr Kf4MwsZ8vOOOmiQkMfXojWszdw+UsV+U/Mc0AgrZ3uRwtGRkVLkL7puxG/UNUx41R8b2rI g91ycEdcDiwywkh6YNgR4TZ+dDWT3p8nSyoOd9gkKqEUm6qiJOU1DgrAm/EEef4I3Ixjt+ JLvv77ElSVKk5bOkN/lhdekg+MCORQ37dldz4EF0vA43W0RYLrPh57DD6y92oA== 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-Cc: Andrew Lunn <andrew+netdev@lunn.ch>, Jakub Kicinski <kuba@kernel.org>, davem@davemloft.net, Eric Dumazet <edumazet@google.com>, Paolo Abeni <pabeni@redhat.com>, Simon Horman <horms@kernel.org>, Willem de Bruijn <willemb@google.com>, Chen-Yu Tsai <wens@kernel.org>, Jernej Skrabec <jernej.skrabec@gmail.com>, Samuel Holland <samuel@sholland.org>, Maxime Coquelin <mcoquelin.stm32@gmail.com>, Alexandre Torgue <alexandre.torgue@foss.st.com>, Russell King <linux@armlinux.org.uk>, Lorenzo Bianconi <lorenzo.bianconi@oss.qualcomm.com>, thomas.petazzoni@bootlin.com, Alexis Lothorรฉ <alexis.lothore@bootlin.com>, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-sunxi@lists.linux.dev X-In-Reply-To: <20261122144926.284857-4-maxime.chevallier@bootlin.com> X-Sender: nb@tipi-net.de X-Last-TLS-Session-Version: TLSv1.3