🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #26349

Re: [PATCH net v3] r8169: clear RxOverflow before unmasking interrupts

#26349
From: patchwork-bot+netdevbpf
Date: Thu, 03 Dec 2026 12:10
32 lines
9216 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Thu, 26 Nov 2026 09:37:55 +0100 you wrote:
> When the RTL8125B runs out of RX descriptors it sets RxOverflow
> (RxDescUnavail in the vendor driver) and stops receiving until
> RxOverflow is cleared in IntrStatus, even after the driver has returned
> the descriptors. Since commit 6994520a3328 ("r8169: disable interrupt
> source RxOverflow") nothing may clear it:
> 
>  1. The ring fills. The chip completes the last frames (RxOK), then
>     sets RxOverflow and stops receiving.
>  2. rtl8169_interrupt() read IntrStatus before RxOverflow was set, so it
>     clears only RxOK.
>  3. NAPI empties the ring and unmasks the interrupts.
>  4. The stopped receiver raises no new RxOK, and RxOverflow is not an
>     interrupt source, so reception stays stopped until another event,
>     such as TxOK, makes the handler clear all status bits.
> 
> [...]

Here is the summary with links:
  - [net,v3] r8169: clear RxOverflow before unmasking interrupts
    https://git.kernel.org/netdev/net/c/9d71a9bfd9cb

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179629980501.2574891.1724684244624465832.git-patchwork-notify@kernel.org>
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376573-linux-kernel-netdev=dewy.ru
References: <20261126083755.1530514-1-jure.rebernik@luxonis.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!srl.newsdeef.eu.MISMATCH!feed-eu-txt.newsdeef.eu!feed-eu-ch.newsdeef.eu!srl.newsdeef.eu!newsfeed.bofh.team!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-376573-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v3] r8169: clear RxOverflow before unmasking
 interrupts
Date: Thu, 03 Dec 2026 12:10:05 +0000
Organization: Usenet Network
Message-ID: <179629980501.2574891.1724684244624465832.git-patchwork-notify@kernel.org>
References: <20261126083755.1530514-1-jure.rebernik@luxonis.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="2483411"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:6hR+4rgU1RaJB7WUBE2WWZPecKc= sha256:lfZhiAu9NQ30DBbtoEQCv/aBIzgSN8WV7RfPQ83+AtQ=
	sha1:40FpQ2j1VKGYTpre8jJVJUZ4C4s= sha256:RslIJ3Ft0+ZZfFmB2jBRVRSZ/YQq4UeDW4aBnv+5PFA=
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 D2F67117924; Thu,  3 Dec 2026 15:13:09 +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 xqCoVvAN5-_z;
	Thu,  3 Dec 2026 15:13:07 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-376573-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 0353C117920; Thu,  3 Dec 2026 15:12:58 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sto.lore.kernel.org (Postfix) with ESMTP id 878DC60405D; Thu,  3 Dec 2026 12:12:58 +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=1796299812;
	b=jC8yZN8zbTnxyEQ04NRTGzIoX8+Ic/MkbsevEznz7jA5454Nm4VNpg6NSmoNbhC3ARsY
	 0fiNjuv3jKpWlZbw+cYNVxdqnZ7aIi/AwnbGL+B7CoiS5R9YYFKxUNS9AcULM27Rvtc6y
	 bav9kcaBciV1hYo9c5vJSZ/2lvYAXRos1PrKVDz0JV9zKoh5nd8wlv4/CP9emDjMlZwCK
	 rTvFJ/CjLSrVwkOpqZQG1MuClUzrVk/3wjVh3QfVWxfe7KZt9jzCeMLgGBTDRxEQP9ZBr
	 Cm4CYXWpPI1CERqzi8SDReBZ/X2T27df6ZMvw1rKqshstUw0J+RVCLjInpcVKZXwQFw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796299812;
	h=X-Original-To:Received:Received:DKIM-Signature:Received:Content-Type:
	 X-Mailing-List:List-Id:List-Post:List-Help:List-Subscribe:
	 List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=LsKXGhE2DQFVp4ypyp2cyBJAdxCX8qTMTc+XsU6BErU=;
	b=juABejHYPh/AQFLONpJP2TWsXzfeWgzNP/9mPaWo45v/MZeac4UcfVc250wjiV+lhTTQ
	 pVfhsd2HOVAo3C04gVigN8KfqrV7QZZFT8Nw+SNx+10EOhmdTbVZQSzfr3S7tNb+QIigX
	 EH4usL8RA6+GGTgE/JJjF6+5WnFGxl/xR1VgZubULI29P+xMka20eod9/CRpsOnJitcVF
	 rtkoh61rgn+rctrFPmyNn8esP09d+KlYWsbYdOHuTImLjBOQgOBq/Tt/UFNmI4aWMiQ9o
	 W1+5P8YLMyD2iUlYBGGstrRsjiBK+AjSKlqgo6n6l7FP279jRd2ftmpMB9lOZ6SpTsw==
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=Ukil7rPz;
	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 6BB36606D179;
	Thu,  3 Dec 2026 12:10:12 +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=Ukil7rPz
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=1796299806;
	b=tTxHOY4tRNvaDt9kGnkHaw+u8h28GmENaC+BNKhmxUwT7UIkGhBkIEIRxXZlmqkLcUQx
	 W6kdiW4G5pOdJ/ePk1jPz8sAZl+uDYSseVDw/zFSRnraA7a3ohkdLL6WbdzZh707krk//
	 sZbG79WUAiSvhoWb/O5xIjcB3i+i3qtoMaszsLt2d/t3kdkCeMXt2qm7PB0rTuYk4BOTT
	 7HgEmtURtBYSgELW0QZCSf2g7p7pY5NCvTNs+k6F7LSlYQz3wQHPxbu50jOxe3l3QJsix
	 sGkA6p+0XQrSNQiwQrQtL4nYsDox+qwhWaSnhxB3ieF4Z/vJBIxsZWPqFGlh+tEY/+A==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1796299806;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=LsKXGhE2DQFVp4ypyp2cyBJAdxCX8qTMTc+XsU6BErU=;
	b=1yLAN+H9Ulo4uifkI8pMYeaz1qcyRtSWzLhOAA020qFFbc2s0T9uYdsZtdCX3HutQbTM
	 CAlvb+hq/oP0vF+FOXqm9X/rXR9QbtUrq8EuLLF/hJ0iX2Fgum+cpJJNuVld/dPrznRY2
	 AEADcqGbI5JaxaL9TO5nRQfW4krWhAm4pPbDTFepyhHNEVUK8TrZOCDeshdkPHSHVh9jq
	 xPIU8LEE5mU/8u0VhyqVVEyIBP6ZAIp1loTVnuIPHFRLhe9EU9I2JnbxBih99PZa2rKB9
	 zvcXp93zKFbMUgc0kpbWpO+UlAYbfBZPg7X8Wz1cX1V5Yxs3Yc2RZEzhWoB+qxac7Zg==
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=Ukil7rPz;
	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 8AFF0606BEA6;
	Thu,  3 Dec 2026 12:10:06 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E9D21F00893;
	Thu,  3 Dec 2026 12:10:06 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1796299806;
	bh=LsKXGhE2DQFVp4ypyp2cyBJAdxCX8qTMTc+XsU6BErU=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=Ukil7rPz6KYUZuqnjsKEkuSyPmrFnLAjquxSqr5id30mKefQIlQxIAW8dJ+ivggow
	 5JDftfFBcuWUVhRaovEH2+BlXnrUco1dVD8g5mK3ULSo+7qcLP1QOfXEfjUpgfKDFG
	 Pm+4E4sA7YpY7XGQxXIKJ+G29BWnxfGp4GMtRma8oKf1PBsIRabR8ecUBzwJyGmDWZ
	 wDVfsrNoG0QZ9prH8VQAPj7jWRorGNO5yd9Fu5hAJsnsVKarAzKzWjM94XV9cKjNAj
	 Ovb0pHWtdzml3NGxvR5krnFPBV1d4+7ooTkE5dfdSc7kCHCg92/NoJhJh+qMSW4L4P
	 FZxPxWTyoeHhg==
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 3474A38068C5;
	Thu,  3 Dec 2026 12:10:06 +0000 (UTC)
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: <20261126083755.1530514-1-jure.rebernik@luxonis.com>
X-Cc: hkallweit1@gmail.com, nic_swsd@realtek.com, netdev@vger.kernel.org,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, sgoutham@marvell.com,
 jacob.e.keller@intel.com, linux-kernel@vger.kernel.org,
 stable@vger.kernel.org