🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #11577

Re: [PATCH net v2] net: 8139cp: keep Rx masked while NAPI is scheduled

#11577
From: patchwork-bot+netdevbpf
Date: Thu, 05 Nov 2026 10:20
26 lines
8781 bytes
Hello:

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

On Sat, 31 Oct 2026 11:47:23 -0500 you wrote:
> From: Colton Pawielski <colton.pawielski@gmail.com>
> 
> cp_rx_poll() calls napi_complete_done() and only then takes cp->lock
> with interrupts disabled to unmask the Rx interrupts. An interrupt
> that is not masked while polling (TxOK, TxErr, ...) can arrive in
> between. cp_interrupt() then sees the Rx status bits, which are still
> set, finds NAPI no longer scheduled, masks Rx and schedules NAPI again.
> cp_rx_poll() then carries on and unmasks Rx anyway.
> 
> [...]

Here is the summary with links:
  - [net,v2] net: 8139cp: keep Rx masked while NAPI is scheduled
    https://git.kernel.org/netdev/net/c/547b1ae5ec50

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179387400626.3571518.6125898624149671767.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-357215-linux-kernel-netdev=dewy.ru
References: <20261031-b4-8139cp-napi-v2-1-5824797c0fe6@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-357215-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] net: 8139cp: keep Rx masked while NAPI is
 scheduled
Date: Thu, 05 Nov 2026 10:20:06 +0000
Organization: Usenet Network
Message-ID: <179387400626.3571518.6125898624149671767.git-patchwork-notify@kernel.org>
References: <20261031-b4-8139cp-napi-v2-1-5824797c0fe6@gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3611200"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:sdAlpU1Y3y9rUXAs0SHrK224N3Y= sha256:vVEzdg4sOx6dtcURYkCp2WwiFls3hARlQcciTl/R0Pw=
	sha1:6tw4cRMRbjcQxPWCZgwEwOmCI5o= sha256:d8DZGrt3s5AHrdXLirvBGocpFmZ0YHHErY0IDvVhZrk=
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 39841112F04; Thu,  5 Nov 2026 13:22:16 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.501
X-Spam-Status: No, score=-3.501 tagged_above=-9999 required=6.31
	tests=[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 Z_ytHDeEy0_O;
	Thu,  5 Nov 2026 13:22:12 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.232.135.74; helo=sto.lore.kernel.org; envelope-from=netdev+bounces-357215-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 AB8B3112F02; Thu,  5 Nov 2026 13:22:03 +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 E1EEC608FB6; Thu,  5 Nov 2026 10:20:37 +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=1793874014;
	b=3U3T22k38dTWHGlB1/jRMOuTpb5KEUOKQU8RxPNWELA8VQ/VXqHjiWXnkwIsf018oFIq
	 1YUqS54uNSNmzjq9jtOxKpcp8GmHhVI8KGMffd7EpBVo6hQkdeKGu/4Yb2vkW33mYGZqB
	 97un+EuBhfx0ald9RQP0/Tg4oN9+18XFCTOKtwi3bu3kqtBdC4qYu3+gbpAnecgClKL7g
	 i1s1ah512yz0fey384cA4QegBX5G5vWaTQkz3XFUhOvlDzO6TMkmFFH4TKiQZo/fC6NZj
	 5qYF2WwTCMOWTTjFSL71ELfllsn6W1/qCW2lx/z8UphWm2jhvCOl0cLWe7FnzWnv0sw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793874014;
	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=/fjsOUXK6gh9UjxEanyLWiGOHJ5mrZq8jXGDtiDFfF8=;
	b=Xrgpw9+IoDIlcjwSDX9yhUZ/Az+pEHr8VHOeQHRW8lSXLeesQDZY1JhvyApL9m/2ppZ8
	 Dmtyz9Xw/7kNCth8I3ttV0QLloRDowKo0gWrc0vyjtRmwunyltFjQD3dWfQLWgO6IotCw
	 MvJS5+Of5/V2Qn4dWJYvo/kLmpJOGqkigYsy21XZP3Eyy3NKTD34/Y3Ic+bvJuEaO6y7N
	 fI+7HXnpNxX4j73o28hU80XGEe28trLB2+Ksrh2tbNkCY8iVk/g4B6vzqi4nWtb1YbwxZ
	 6Kh/FHrxENK1/4M30/nJ/HEelMRFL/AR17IznJEUJ6aemEhvlmYm+OBvAUnjOcPEtHA==
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=NZGkEUCy;
	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 6044B606A33B;
	Thu,  5 Nov 2026 10:20:14 +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=NZGkEUCy
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=1793874008;
	b=nOtVK2FGqmYhpr3w8wFORqePO+ug92TANeGPHWjTgW/4yK+jfX6qpZ2VPcuwrFDNPlnN
	 b0uzTPaxuN7NwfFY107r+ZabEKS2JmqIobY8+fiqYRSDKAqbwoVtSycrAD0KHkp+CBahi
	 4P/NJl8hWes3SiEUPMvj7any/ExpZcMqqgQW4Fkw8kjGkziG5LiaEyr2pjdGV3l7ylZIE
	 9o00MaNpEMpXZBoYE/je7kRl/kyM2LBfQ+/bqP69yP6Q5SsrihiI3asBUPPdSpM/jHGMl
	 J9OX5qZi61vZt/5EGp5HjLcylJY9j3cNFuU93apnyOI0DOmcRECDfZBsBGPIe4lowfQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793874008;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=/fjsOUXK6gh9UjxEanyLWiGOHJ5mrZq8jXGDtiDFfF8=;
	b=Lgu99eXflOoomg+75RCnSiVQtUGKv5BWAxj5xkX91ceD/MuB0UXD4k+Oum+Kx0lajbGM
	 pwmBw1MaLxbB3IluYLsrkjbRFzt9CI9wp5GT36yBkeSXNrDlKb2+hmVLUHamrtty3sDOx
	 KfuZndDdOPYxvTSN2Eb3g3Qo5JIkoSlt22koeK7+4rEaBTEHd1bqjgQ0PtYJzrkqvINi3
	 cfU1iNemjJ7vahVYQsNibWrgeR2f+htD7jey3R8qNYBzYwShYws1vvOTQD28GourrQX3E
	 u4BZ4mVa73yOcNeh0sHK/iA4bcltYlmniFzOvFSKtW9IG+h0D2ca8NojGqzQySmPgfA==
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=NZGkEUCy;
	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 424FD606D815;
	Thu,  5 Nov 2026 10:20:07 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id C45161F00A2B;
	Thu,  5 Nov 2026 10:20:07 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793874007;
	bh=/fjsOUXK6gh9UjxEanyLWiGOHJ5mrZq8jXGDtiDFfF8=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=NZGkEUCy+Pi34O+oMFhH4oLsN4lAvstK0UVU9uJVnhje2A2eji/KX2Nuch8ODOsHH
	 673hokhZhzxmlixstYxXS68kWu49o3fr7EIwmxlfBUQC5BuzHr8IXw4ATmPVrOtfHg
	 wfFr730u4yzKdyPAPCT7IGPzwt/UGc5BG3yslc0ho1Epc32BWng1CAEA4YPPEKg93a
	 3xP+7QYJnOIRb1mYdba8gU3BDLq5tLvzg1IlYtFkcCOQOe8f7nfVV9DpexsdexhDv7
	 W9/S3fwa0SSx0iywceWqOpHE4n/9VZ4EDuaeGixmCQxdijNkFdekRhj+7db/L2sU6h
	 MxPts7dwRYHCQ==
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 BA421391AFB3;
	Thu,  5 Nov 2026 10:20:07 +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: <20261031-b4-8139cp-napi-v2-1-5824797c0fe6@gmail.com>
X-Cc: andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org, daniel@0x0f.com, geert@linux-m68k.org,
 kmehltretter@gmail.com