🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8325

Re: [PATCH net v3 2/2] net: bcmgenet: restore the Tx coalescing setting when the rings are rebuilt

#8325
From: Simon Horman
Date: Wed, 28 Oct 2026 17:23
13 lines
8620 bytes
On Thu, Oct 22, 2026 at 10:54:07AM +0200, Nicolai Buchwitz wrote:
> bcmgenet_set_coalesce() writes tx_max_coalesced_frames straight into
> DMA_MBUF_DONE_THRESH and keeps no copy of it, while
> bcmgenet_init_tx_ring() programs a fixed 1. An ifdown and ifup or a resume
> then puts the Tx coalescing back to one frame per interrupt.
> 
> Rx keeps its value per ring and reapplies it on init. Do the same for Tx.
> 
> Fixes: 2f9130709d2c ("net: bcmgenet: Implement TX coalescing control knobs")
> Signed-off-by: Nicolai Buchwitz <nb@tipi-net.de>

Reviewed-by: Simon Horman <horms@kernel.org>
Technical Details
Message-ID: <20261028172332.GC257209@horms.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-352969-linux-kernel-netdev=dewy.ru
References: <20261022-nb-genet-fini-dma-net-v3-0-6e9fc89c0156@tipi-net.de> <20261022-nb-genet-fini-dma-net-v3-2-6e9fc89c0156@tipi-net.de>

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-352969-linux-kernel-netdev=dewy.ru
From: horms@kernel.org (Simon Horman)
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3 2/2] net: bcmgenet: restore the Tx coalescing
 setting when the rings are rebuilt
Date: Wed, 28 Oct 2026 17:23:32 +0000
Organization: Usenet Network
Message-ID: <20261028172332.GC257209@horms.kernel.org>
References: <20261022-nb-genet-fini-dma-net-v3-0-6e9fc89c0156@tipi-net.de>
 <20261022-nb-genet-fini-dma-net-v3-2-6e9fc89c0156@tipi-net.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Injection-Info: usenet.network;
	logging-data="1824557"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:A2x1RHVqhh1GKWGKi+RuSXxfmdM= sha256:IwcZsM8imSj3px6zgTiCfXB79xaBf+e3s8x8eyOEQCw=
	sha1:ejaKh9f8CONfJ9Xp4Slmi2qW+n4= sha256:KcKbwXRwI4vmJMIyJB1j368E5KVFdrA+MkYSan4WfZk=
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 99CA0125C42; Wed, 28 Oct 2026 20:30:31 +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 p0CiahFsIlK4;
	Wed, 28 Oct 2026 20:30:28 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352969-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 tor.lore.kernel.org (tor.lore.kernel.org [172.105.105.114])
	by mail.dewy.ru (Postfix) with ESMTPS id 77627125C43; Wed, 28 Oct 2026 20:30:18 +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 D728F2E2F6; Wed, 28 Oct 2026 17:23:50 +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=1793208228;
	b=mfHaTjeV4sFowPRoZYepZymKi2BrtyVLvB0gwqtl49VKGtoN4E9lwKoZEGtTATQ5MD9C
	 g0YrB5A297rQOBKI4nQc+LIk9Quhm0Zc/j5430dXjM7ZyLQVvqX3woO9O5BamXEaok0/0
	 RDP5uowse4FukIRHisS+/5l+agQb+2GgdLGfRVpVW+uc+PaVMvHR9OT2gj1jnMlf8rE30
	 MDTKjuZpyfId4e5Ee3a/athWKggFCqyulrSHKfpN02Kl9Q4C4LhQD0yC2k/akgJt4fw8l
	 lT8mF8v1jGDSBDkh4N3fJ4KPv+8WBHJzS2YDP6KMRlxkiWkrxCSVCHttff29cApJPFA==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793208228;
	h=X-Original-To:Received:Received:DKIM-Signature: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=T7vJFC3Wg/d5PIXaik+pg4rNV8+aKUM3fMPWRDZWFtU=;
	b=24oW6P9BwvSFZl53Fb/p4uDH0Sf7llNbB1INbmvZrThGkRGURSEVvo1drc5A4KlI8HJP
	 pNwVL4Jm/IQrPqNO7e2R1Wso1/s19owwP+VhQHJ/D/vGchrOavR76FOpGswTfn0stnK+h
	 fSj816nuOasZMg68eqCslgoH//hRXdO5RQV8eV85aync+lng1RDSwAXSV/g8HmdlB7iUW
	 DRv3y4v4sdn7fT7WIkhxat1C6/6WBYwHqowtv1mPqDErWR+4UVeuB3mGw+nesSHoogDPB
	 HeYR1MttE/s5OB+XElaO06k1nprDFPvYUrogRyKoT9UlLrig7tmKsaJL/C8SAgyGbcg==
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=ft7f4sFA;
	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 43A18606A31E;
	Wed, 28 Oct 2026 17:23:48 +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=ft7f4sFA
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=1793208217;
	b=f/bCEIrGDFA5uDJ2ktWukiCHF0aoG7P46awoau+e7ZbOktQOkjZwKRBL2NDm1ewzFtY+
	 R7LksRNKKjoKZlZivBFRk6vqoxmnnOnkNGSUG9yaqIjaqGWnmDy6GT2rd8qOqrqtGU5UT
	 SeGGAWTJ7uCVOvrRw0mKTKEGXxDHByXAzNIoMxkMDRZFQ4hvUsm3Lc4PExTt872mzoAUk
	 3IZVqYIy/Vk97/qUsr4WhjGgdvB1dH2IFAkbX167CyuBTS/1scppF1+K0NShAjJeHb4Ro
	 Cxeioww+Z5A3ZZahCJOQYQryKwmL4J7F9mwI1jNzHvPYync+Yk7r1q2v7QV77YmUsFg==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793208217;
	h=Received:DKIM-Signature:Date:From:To:Cc:Subject:Message-ID:
	 References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To;
	bh=T7vJFC3Wg/d5PIXaik+pg4rNV8+aKUM3fMPWRDZWFtU=;
	b=HKRDuex3UoIR2nECaO60aVBZ5rfLOXFubeGWS1VTo3Js+8D9IJW/GYOHRraxz16X7H+p
	 C+1CVoVDpRzjBvI6cue5Nr+aYn/VWKBMe6TEcwIrjEc2FXrp7q7Lc1pZBByGanLP9WvY0
	 L3CYAKjdYulrkj0vgpv/8awJYpo/ft+fsjO9qLAlrAY5Pc1ScAN/lZUo7WTkNb+1UrFGE
	 F3zRXd8jsPrRAi1wNv/I7bgpjmcSuuB/ulxqEk1S57NF7vHAlzVkQjd56xWM7tUExvUcB
	 nKmsr3++3DN3JXmvfagC97x5kJrF4eH+hIcrNmkAQEc90+lF+P1TZ+hpQnYDjmrB6Hg==
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=ft7f4sFA;
	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 25A57606A31C;
	Wed, 28 Oct 2026 17:23:37 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id B39041F031E0;
	Wed, 28 Oct 2026 17:23:34 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793208217;
	bh=T7vJFC3Wg/d5PIXaik+pg4rNV8+aKUM3fMPWRDZWFtU=;
	h=Date:From:To:Cc:Subject:References:In-Reply-To;
	b=ft7f4sFAkJ23OkuFr6wTqEafZWkP8BQj9XJiwPfvEQdh16mDEzncQbidS53AndTCz
	 8Sx72sZLCCjdMJhB0klAIxJ1FmRQOD6BGblxQWbNNy5FcpDghaCwqv6isEkmVErsQ1
	 0kxMQ3vr0umBlr++AUhwb/G42RiBidFnBj6+6VD+HQ/VSZRc7sU7XueV4syo8oiJfP
	 9ptNnvfpj8k9fPAPmDNtF8ifhx4NoV/0ILFvnZeDqkH0RGeJ/oIdVk7HY90Ia3qQsT
	 PUk/5wXvQBCUeUFLwxpSLFlSOao7mMTRZdBDbsbmxIDx2EjkdLGEHK+2TlrHp8KT5I
	 cES8tVHxGlyVA==
X-Cc: Doug Berger <opendmb@gmail.com>,
	Florian Fainelli <florian.fainelli@broadcom.com>,
	Broadcom internal kernel review list <bcm-kernel-feedback-list@broadcom.com>,
	Andrew Lunn <andrew+netdev@lunn.ch>,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Justin Chen <justin.chen@broadcom.com>,
	Florian Fainelli <f.fainelli@gmail.com>, netdev@vger.kernel.org,
	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: <20261022-nb-genet-fini-dma-net-v3-2-6e9fc89c0156@tipi-net.de>