🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #3810

Re: [PATCH net] net: bgmac: enable interrupts only after NAPI is ready

#3810
From: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 02:20
27 lines
6610 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 10 Oct 2026 00:00:11 -0700 you wrote:
> bgmac_open() calls bgmac_chip_init(), which unmasks the interrupts and
> enables the MAC receiver, before request_irq() and napi_enable().
> bgmac_enet_resume() also enables NAPI only after bgmac_chip_init().
> 
> When frames arrive in that window, the first RX interrupt masks all
> interrupts in bgmac_interrupt() and calls napi_schedule() on a NAPI
> instance that is still disabled, so nothing is scheduled. Nothing
> unmasks the interrupts again, the RX ring fills up and the interface
> stays deaf until it is brought down and up without traffic.
> 
> [...]

Here is the summary with links:
  - [net] net: bgmac: enable interrupts only after NAPI is ready
    https://git.kernel.org/netdev/net-next/c/ac1f6e58cb77

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179211720602.18595.409341972831796996.git-patchwork-notify@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-347065-linux-kernel-netdev=dewy.ru
References: <20261010070011.60403-1-rosenp@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-347065-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: bgmac: enable interrupts only after NAPI is
 ready
Date: Fri, 16 Oct 2026 02:20:06 +0000
Organization: Usenet Network
Message-ID: <179211720602.18595.409341972831796996.git-patchwork-notify@kernel.org>
References: <20261010070011.60403-1-rosenp@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2667672"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:0jCnBXC58eu+b/d4CkUk4e9nDzM= sha256:Vfq5FeHYj3eNh5dVK3p1uVVT6u9OY2TV3jEj7eTj7jY=
	sha1:3q/MmWBdkJSWq9WqvbGpwWqukiI= sha256:KQtghhq+5kQR+sYMW0HRW8uHq2poUp6QggUBv+3wuBU=
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 42A9511043A; Fri, 16 Oct 2026 05:20:23 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.74
X-Spam-Status: No, score=-3.74 tagged_above=-9999 required=6.31
	tests=[DKIMWL_WL_HIGH=-0.24, 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 PO4yHqq-tUDy;
	Fri, 16 Oct 2026 05:20:20 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-347065-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 sto.lore.kernel.org (sto.lore.kernel.org [172.232.135.74])
	by mail.dewy.ru (Postfix) with ESMTPS id E38691103E6; Fri, 16 Oct 2026 05:20:10 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1])
	by sto.lore.kernel.org (Postfix) with ESMTP id 42F2E60A005; Fri, 16 Oct 2026 02:20:09 +0000 (UTC)
X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by smtp.subspace.kernel.org (Postfix) with ESMTP id DCDA533E35C;
	Fri, 16 Oct 2026 02:20:08 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QGlaHKom"
X-Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id C6ABB39280A;
	Fri, 16 Oct 2026 02:20:07 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18
X-ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;
	t=1792117208; cv=none; b=O4gQvEp941JOoRZ3Tk/hIRA3SngGQCi3IsHBGNjbXXiGQWwc/LXfWN9toFL7LN7Tepvxlw0cSAZ/xT+rnw2urDzkCSrFNcl5/fhHRShqeRaLxEfllOiWckx8aa4VxfaIuleg/VwlzkvbYdFPUPAFURsG592zjV07eXJznaG0Fdg=
X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org;
	s=arc-20240116; t=1792117208; c=relaxed/simple;
	bh=RSX+4nXRYb6tF/eBdUz+A6Xl/K0HXVPC0hFrPvZ1ZcY=;
	h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc; b=P4srSG8gZmrPRo+szZtPyQdITXjn1/eI4BXvckT9aCxdeeCmYC9hmGnuXI79XsJJ7ysQick+MuVlRfpiTKrOGvuUG3kW26l46qABt6GE3BzJ35C5qgEh4+K0D4N9s5XNA0mj1+rBt3VEj7tVR7EI5S4B9guRIBn3ddy0cHsMS+Q=
X-ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QGlaHKom; arc=none smtp.client-ip=100.103.45.18
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 831371F000C4;
	Fri, 16 Oct 2026 02:20:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1792117207;
	bh=+SOsYnUxcsp4rmruGbrB7lpTSGL/Kvdc9rNKiksd3P4=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=QGlaHKomcGqaKCXTuQn4Pry4mCXL9oUXvlY/q+Z3+DyULKWXNhH8V3T4wC2TGhLEc
	 i+9UfNwSqPChfSe4PD+Dpw0N/jcGmOY6XV7ubQdcYOLPSFsrIDLW3J6U+nAQzBvLJP
	 mwmU+o+LOFI1zHpCPCjJ6up6yN2cTtwfwmf+fsazWAgG6rBULUHrQ9uaDozv/fYv0z
	 RmQCd9vH7RIQymJouslrIxcM5NxcNUr3nalV1EdBeVPRBTTRw36EqC8KLikaz8QnT6
	 njEbi7TfHnGbCud+Ea4bYntFuifs/3ZxqCLcjYg83BlMz1QAQX8/E/LD7QaI/BFTNF
	 Ad5jkfo04/cag==
X-Received: from [10.30.226.235] (localhost [IPv6:::1])
	by aws-us-west-2-korg-oddjob-rhel9-1.codeaurora.org (Postfix) with ESMTP id 7757C3808209;
	Fri, 16 Oct 2026 02:20:07 +0000 (UTC)
X-Precedence: bulk
X-Mailing-List: netdev@vger.kernel.org
X-List-Subscribe: <mailto:netdev+subscribe@vger.kernel.org>
X-List-Unsubscribe: <mailto:netdev+unsubscribe@vger.kernel.org>
X-In-Reply-To: <20261010070011.60403-1-rosenp@gmail.com>
X-Cc: netdev@vger.kernel.org, rafal@milecki.pl,
 bcm-kernel-feedback-list@broadcom.com, andrew+netdev@lunn.ch,
 davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org, pabeni@redhat.com,
 jon.mason@broadcom.com, f.fainelli@gmail.com, zhongx@broadcom.com,
 linux-kernel@vger.kernel.org