Article View: linux.kernel.netdev
Article #52Re: [PATCH net v2] net: bcmasp: fix lost TX wakeup race with lockless queue API
From: patchwork-bot+netdevbpf
Date: Wed, 07 Oct 2026 01:50
Date: Wed, 07 Oct 2026 01:50
26 lines
6494 bytes
6494 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:
On Tue, 29 Sep 2026 13:34:00 -0700 you wrote:
> netif_stop_queue() in bcmasp_xmit() raced with netif_wake_queue() in
> bcmasp_tx_poll(): a reclaim landing between the ring-full check and
> the stop call left the queue stopped despite free descriptors,
> hanging TX until timeout.
>
> Switch to netif_txq_maybe_stop()/netif_txq_completed_wake() (the
> lockless TX queue API, which also brings in BQL), replace
> tx_spb_ring_full() with a live bcmasp_tx_avail() count.
>
> [...]
Here is the summary with links:
- [net,v2] net: bcmasp: fix lost TX wakeup race with lockless queue API
https://git.kernel.org/netdev/net-next/c/ea311fea3236
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179133781679.2868218.8600482716741136005.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-342172-linux-kernel-netdev=dewy.ruReferences:
<20260929203400.1588868-1-justin.chen@broadcom.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-342172-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net v2] net: bcmasp: fix lost TX wakeup race with lockless queue API Date: Wed, 07 Oct 2026 01:50:16 +0000 Organization: Usenet Network Message-ID: <179133781679.2868218.8600482716741136005.git-patchwork-notify@kernel.org> References: <20260929203400.1588868-1-justin.chen@broadcom.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="556167"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:j8+q6iTr1+wmZn5mKPU2aW+TN10= sha256:LWXL1oWXOiNLyCj3HFEaK+iNSjkslSsnth5XrqhsIlg= sha1:q5/DWHZfNxbmMUCXPDrx4TPowjA= sha256:yp2fDVHy+5oyGNsE3oUpa41Tk+yF83KLN+TNxganmeY= 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 25F6A10F0C3; Wed, 7 Oct 2026 04:50:30 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -1.341 X-Spam-Status: No, score=-1.341 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, DKIMWL_WL_HIGH=-0.241, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MAILING_LIST_MULTI=-1, 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 c9HWSOUB_XXT; Wed, 7 Oct 2026 04:50:27 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-342172-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 48B5E10F0BE; Wed, 7 Oct 2026 04:50:22 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.90.174.1]) by tor.lore.kernel.org (Postfix) with ESMTP id EB8BE2C339; Wed, 7 Oct 2026 01:50:20 +0000 (UTC) X-Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 865612931E9; Wed, 7 Oct 2026 01:50:19 +0000 (UTC) X-Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QdU9GQqT" 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 9402832FA14 for <netdev@vger.kernel.org>; Wed, 7 Oct 2026 01:50:18 +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=1791337819; cv=none; b=nDLYJ1iOCpAYG/uYTCFeYi2WReAqRREdzwxLf1pLQy9jm8H0LK+bOP9rzlDOLKphG/lc1LR8j+xBuSNxg7PLrjMLvMUTxC6tDd+ZwJKmGhX3wGBMubNB866cCQLLjCHKRhkW+vSa7qyDiM0+jwU90fez6Nd1QiVOtnTAFl/gZBw= X-ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1791337819; c=relaxed/simple; bh=3JhVysWpaIUfrwa4s5zECBFVb7JNdYq7vbBgyKZKPQk=; h=Content-Type:MIME-Version:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; b=JgD/rn9tvGF7iNXxhI63KMZ6NBv/BFtfJB3ulfibUpZsTEOM99zM9/p1jcNkvq2wBcuoO8PFcjYs/zhHGl2SpA69t/Dq/38lMkYgsrXPd9EN59OhCNYmWYf30Lm6d9jHAlFed/pNkd4gOe1g5Ba7GAFpnYsznKScPHMGAK+ldFo= 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=QdU9GQqT; arc=none smtp.client-ip=100.103.45.18 X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 438261F0089B; Wed, 7 Oct 2026 01:50:18 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1791337818; bh=BrkZOTL74TlyGeWV9aNrfQVEDcZHOkWS7l8q6TdbQvo=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=QdU9GQqTHr6qjW8axYZr9kBN3XrDcZzB5NydL6qvl2Em4BX1JZ0rAL0NdIJ+bPTWc pIL1FFqdQX3xtucfZpV8HSQVjklLKYlI6xNZTub5Rmww6r6ztFn+MmeEw0Q0ttFuqk 8GeQW061ZmcOjFZ80yvFDKAyYCS5nmHDpo+ewgPF6HwUnuVgF6djau7OZ+KOglArGk cDjj41oMZ0zI+lMi/NIUy89xi/r9vFOOyU0K1wooHXKR0lYyprKe/yarf5n90Rr5C1 LcTvs8mMVjsUt27cPvBGwQ2I+VYT21fctEwxi0i9oFetengYoQP/+Dkhkdoi8OO36x xCi469ePG+KIw== 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 3A13C3806541; Wed, 7 Oct 2026 01:50:18 +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: <20260929203400.1588868-1-justin.chen@broadcom.com> X-Cc: netdev@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, horms@kernel.org, pabeni@redhat.com, kuba@kernel.org, edumazet@kernel.org, davem@davemloft.net, andrew+netdev@lunn.ch, florian.fainelli@broadcom.com, nb@tipi-net.de