Article View: linux.kernel.netdev
Article #26741Re: [PATCH net-next] net: dsa: netc: break tstamp_queue walk on first non-expired skb
From: patchwork-bot+netdevbpf
Date: Fri, 04 Dec 2026 05:00
Date: Fri, 04 Dec 2026 05:00
28 lines
8964 bytes
8964 bytes
Hello:
This patch was applied to netdev/net-next.git (main)
by Willem de Bruijn <willemb@google.com>:
On Mon, 30 Nov 2026 16:29:08 +0800 you wrote:
> From: Wei Fang <wei.fang@nxp.com>
>
> Replace the continue with break in netc_port_tstamp_timeout_work().
>
> The tstamp_queue is a bounded (max 16) skb queue. New SKBs are appended
> at the tail, and each SKB’s ptp_tx_time is later than the timestamps of
> earlier entries. skb_queue_walk_safe() walks from the head, so when the
> first non-expired SKB is reached all following SKBs are guaranteed to be
> non-expired. Normally, the queue rarely contains expired SKBs, stopping
> the walk early avoids unnecessary checks and improves efficiency.
>
> [...]
Here is the summary with links:
- [net-next] net: dsa: netc: break tstamp_queue walk on first non-expired skb
https://git.kernel.org/netdev/net-next/c/503f683265b3
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID:
<179636042915.834438.3124009399860321220.git-patchwork-notify@kernel.org>Path:
mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377072-linux-kernel-netdev=dewy.ruReferences:
<20261130082908.3251260-1-wei.fang@oss.nxp.com>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!feed-us-txt.newsdeef.eu!feed-us-mo.newsdeef.eu!srv.newsdeef.eu!news.mb-net.net!open-news-network.org!news.nntp4.net!nntp.xenet.de!news.neodome.net!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-377072-linux-kernel-netdev=dewy.ru From: patchwork-bot+netdevbpf@kernel.org Newsgroups: linux.kernel.netdev Subject: Re: [PATCH net-next] net: dsa: netc: break tstamp_queue walk on first non-expired skb Date: Fri, 04 Dec 2026 05:00:29 +0000 Organization: Usenet Network Message-ID: <179636042915.834438.3124009399860321220.git-patchwork-notify@kernel.org> References: <20261130082908.3251260-1-wei.fang@oss.nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Injection-Info: usenet.network; logging-data="2679386"; mail-complaints-to="abuse@usenet.network" Cancel-Lock: sha1:dqnV3e0UJmKhjhNcXf4IIh2mv7c= sha256:kfkrN+P6nwN03/70TCHfTXqkOa/2ilPTUM/YTAeJb1g= sha1:RJG53UecEdCpLS5v7T/f2jg+m0Q= sha256:LCt6XZCY0o65wKzBhSK2mxRMhCNKYeN4aVRo4R2XN9A= 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 BD8A7117B0E; Fri, 4 Dec 2026 08:01:09 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at usenet.network X-Spam-Flag: NO X-Spam-Score: -3.64 X-Spam-Status: No, score=-3.64 tagged_above=-9999 required=6.31 tests=[DCC_REPUT_70_89=0.1, 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 qj7ZdBJVwj6z; Fri, 4 Dec 2026 08:01:04 +0300 (MSK) X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=104.64.211.4; helo=sin.lore.kernel.org; envelope-from=netdev+bounces-377072-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 sin.lore.kernel.org (sin.lore.kernel.org [104.64.211.4]) by mail.dewy.ru (Postfix) with ESMTPS id 8F6CD117A7D; Fri, 4 Dec 2026 08:00:55 +0300 (MSK) X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92]) by sin.lore.kernel.org (Postfix) with ESMTP id A304123887; Fri, 4 Dec 2026 05:00:53 +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=1796360431; b=0w7txl2jbGNHYjShqR7P5z0In6+V4ZE1m2g8mGwgEkFQ8g/1GE5I+2qMd83uZJtnbcNe QIxtNaq8svhDfuMUPmXKoxiBW3sEp1GMzIat/YrbM1xxkW5YFTWBf0E4Z8gVd4loy24BD +GRfUplKyWCMg17GdM7z0TCGyQSC/MUp/NC7k1bqtg93jR079kv4liYNJ7mhBHINpomgB iasn2GJVhebAoe+ClnvyJfVJhvibai0cyx7Rnh0k0IbRrav/+eb/TobJGJ7BzNmc5ljpa 965PDacJPMRx06DqxUm55Qelc3A+UOKi8Ge2sXqRvdmVmdi5sDRS9SQMONztzAKH3ZA== X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796360431; 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=XBdE36dJxFFel7vMaqyoRxkOpyWIdutTkj0kRQAwPlw=; b=eYaRiiBO8GRT48IU5v8zsxXOy97qE3VJYj5XB+jERF1Z+1ZMdsDozucuUKf03x0RAxPM QIhoFElE8gIiQyYQJjavLVpd7hIohjibdiBtSxI2JKJpiuxIQUUHRSVGtv3Di3As8cfrZ 5GRUUyem0gw5Q5w8oa51zrdcFg3ebGAuY2UyxOzV0doHXA6BFdayuhOevZeJ/ZavZxWB5 +SaggNZZFAXhTOLAvAT+ZG7oPAMOmJ8aMhD/J5oaQo8TFn51jMpPYtHCCqDWV59maB+KC 8k5AZn8fQ4GZa+3m3Cbhot0cG+UdR4fM97zHLiHxwZlJySqK9LOMSheHh8c9cK7vK2A== 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=j5ZwOqYI; 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 CC8F9606A6B4; Fri, 4 Dec 2026 05:00:31 +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=j5ZwOqYI 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=1796360431; b=DN7gNOMuANffSoBcpD9Vbr2rnt9Phmc1RcPyWPt1onSV+bULTxe0r/JESn+QMxnBAUMS IBMcrYn8uKGCmZ93nKHxm+PW1XpK8n2gMmwXguvhaohqBOVAULl5Giv77cM8rDGaRVi1t Q7HhNsnGKtkeK8Hso/xpyzqMeV+d1VJvQ5kdXzULyeAxtujwSuDX0TNx2JYHA08PIrmX5 Q5nvI34h0h33Ahq16IILdbck7+i5sO8jOkacfiNhjQ2woUHYddWlLDJVRJk6BXhpwOrXw mNJfySZHQpH1nZ9dtBS822xEors+dw+tqhhY0gIEc5rz3iv6Ui8Wer48CoIH87JfLCQ== X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796360431; h=Received:DKIM-Signature:Received:Content-Type:MIME-Version: Content-Transfer-Encoding:Subject:From:Message-Id:Date:References: In-Reply-To:To:Cc; bh=XBdE36dJxFFel7vMaqyoRxkOpyWIdutTkj0kRQAwPlw=; b=k/iNvF+Zi15FPWf1KDi6NFAwgRdg46iZJzxKwvXmCkzFYtlouSkpYL5DSyqdj7ZvPGdh DlZ53p6ePUEJsLkHQnpUYfTeI5xvhdiT7VCES9Nnm4vHXoycc4cLCk3J00NLwVVN9QYZ+ aoqV5G3p/L6PIepRQrRlnG3Mi3o+wNh14eQ0lOL4FzlwddVIO/w/K4LWYPpOigtIsf99t xU+tNd0eN7K5kkKBDPzzKXfR5cpy8vPC3ovWOp+/rvURmiBkrKSIkbfeATo4WQw4CZVMA NDsyg5MQS9uxmyHUlEz9bFBT3J31B/ayUMoTHJ9GcaoXGKyoQKH8KngHGb/Y5xzJpqQ== 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=j5ZwOqYI; 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 EF06B606A6A3; Fri, 4 Dec 2026 05:00:30 +0000 (UTC) X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A30D31F000CE; Fri, 4 Dec 2026 05:00:30 +0000 (UTC) X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796360430; bh=XBdE36dJxFFel7vMaqyoRxkOpyWIdutTkj0kRQAwPlw=; h=Subject:From:Date:References:In-Reply-To:To:Cc; b=j5ZwOqYIXDpnIyTSVEsO8OuWkDnnRMLX8fiWl6EtJhiqA4d8TA8d/9d6QM7F0AIMc DKlOeRj3IQsDYqm7c/4CanU+nfIrgbSe0WoCiU4XLALFB2wyntEzqavrGWa1S6EA8A GKBwkcoVPiekL40UQTYxttH7XSiYRAdmthAvxIksD5Opf2RUfHszl92YqK8G5OwyLZ 4jKV5CNph8NCX63v2mEMz4OKMvkVfeCvB6xvJfs4z6ktpR2hVOWShN/btnPl4UIoPu vndFFkp5++TIOmksRqG2Kflu4O9KcuQHSXu0sAu8+E15rHs+piTWmnwqPuH9BAYZvs iekqEDzOQYcbw== 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 96BFA3924A7A; Fri, 4 Dec 2026 05:00:30 +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: <20261130082908.3251260-1-wei.fang@oss.nxp.com> X-Cc: xiaoning.wang@nxp.com, andrew@lunn.ch, olteanv@gmail.com, davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com, wei.fang@nxp.com, imx@lists.linux.dev, netdev@vger.kernel.org