From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 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== 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== 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 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) 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 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3E9D21F00893; Thu, 3 Dec 2026 12:10:06 +0000 (UTC) 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== 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) Content-Type: text/plain; charset="utf-8" X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net v3] r8169: clear RxOverflow before unmasking interrupts From: patchwork-bot+netdevbpf@kernel.org Message-Id: <179629980501.2574891.1724684244624465832.git-patchwork-notify@kernel.org> Date: Thu, 03 Dec 2026 12:10:05 +0000 References: <20261126083755.1530514-1-jure.rebernik@luxonis.com> In-Reply-To: <20261126083755.1530514-1-jure.rebernik@luxonis.com> To: Jure Rebernik 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 Hello: This patch was applied to netdev/net.git (main) by Paolo Abeni : 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