🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #8035

Re: [PATCH net] net: lan966x: release the in-flight slot of a stale TX skb

#8035
From: patchwork-bot+netdevbpf
Date: Tue, 27 Oct 2026 22:30
28 lines
8977 bytes
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Mon, 26 Oct 2026 14:46:54 +0100 you wrote:
> lan966x_ptp_txtstamp_request() counts every two step TX skb waiting for
> its timestamp in lan966x->ptp_skbs, and refuses new ones once
> LAN966X_MAX_PTP_ID are in flight. lan966x_ptp_txtstamp_old_release()
> frees the skbs that have waited longer than LAN966X_PTP_TIMEOUT.
> 
> Before this patch, old_release() does not decrement ptp_skbs, so every
> skb whose timestamp never arrives, for example because the switch
> discarded the frame, keeps its slot forever. Once LAN966X_MAX_PTP_ID
> slots are lost, two step frames fail to transmit on every port of the
> switch.
> 
> [...]

Here is the summary with links:
  - [net] net: lan966x: release the in-flight slot of a stale TX skb
    https://git.kernel.org/netdev/net/c/074caa30a627

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179314020694.360855.7049106598198872614.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-352628-linux-kernel-netdev=dewy.ru
References: <20261026-lan966x-ptp-stale-tx-slot-v1-1-9f7c895eb1ff@microchip.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-352628-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net] net: lan966x: release the in-flight slot of a stale
 TX
 skb
Date: Tue, 27 Oct 2026 22:30:06 +0000
Organization: Usenet Network
Message-ID: <179314020694.360855.7049106598198872614.git-patchwork-notify@kernel.org>
References: <20261026-lan966x-ptp-stale-tx-slot-v1-1-9f7c895eb1ff@microchip.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="1647014"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:shhFv91PJQjtl51hu51LhpDyrw4= sha256:i4k2NXq2IO2V6hLw2PYWiK7GG12r8eq1+/Ll6HtkqoA=
	sha1:eAY+8MwCIbb1Xl7q+kKrTv1VJ1k= sha256:2ScAhouWyzTfbCjNm07t99fQdlS74oKsUvQwGEQwQMQ=
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 7F485125C29; Wed, 28 Oct 2026 01:30:58 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.401
X-Spam-Status: No, score=-3.401 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, 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 T3CfkrQXFqLs;
	Wed, 28 Oct 2026 01:30:55 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-352628-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 7C784125C1D; Wed, 28 Oct 2026 01:30:47 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by tor.lore.kernel.org (Postfix) with ESMTP id A9F552CD25; Tue, 27 Oct 2026 22:30:14 +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=1793140209;
	b=ZynBDnn7AstcbsIOXSSFwZdPiuZF7OxLWFz3Zn2tRu3+Q8ai+Y4FYUb0xBO6mpWuOgWB
	 iY/dWARYzFaxTRtA8st8WXc46MWNDfQBsGb8kcJOuHNvyfovp/Z1sXNfwSTHMyx/Z/5Gf
	 vYvC8WFc8oqiVSL5zr8yZybyHOo1UdBy1x4nl9N14YjWEbyzVGFnE87g1Ls7y1Jm7WAp3
	 FN8wJlQeUAUFrXmFeJYxvQpvSnRgsuf6LThidVr+xTd5vcoAV9f4bXQHns/pvjg5NhapI
	 KX3R9vs9He+8FJ4rR6yyrRHGyikI+WL7Af+syof34yC61YrWqXY2+g5Z1IgRXegFi+A==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793140209;
	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=Icmy+kcn+FXvIaWbc4wQxTRCPswqqvM2uKUM5JzYh9k=;
	b=KAA5otQ3VjZBGR4BioqkvlvCBrWIiosyL6Rpg0XK33tOQ2peepwDEbe1rAQfKvXtJDy7
	 gXVS1IuY/64uCJ3oVwDSdyITP9K1/VgbnUGC1NJst8OKpHcwNckFCOhSznlpW/QWYpxFA
	 2zkGScmZwWSj88jAT0lyXzzwoLOOwFEquWkFKbTSzo2nPlr1crBtHPFaiHB7eCQBUF1MI
	 ruRQNb7WVgVdJyu7/P82TpLKsh/1lq2g3jMnBtVcZKflfMSCW2ByCrxtcpwF75J0G11Hd
	 t2xHmslL/QJU/wiilJ3Gxh+IZV0MMRh/WEYMPNdGVMQADnJmlsbhZcIMqbwqGvskXcg==
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=l0MyecWY;
	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 6C6D3606A330;
	Tue, 27 Oct 2026 22:30:09 +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=l0MyecWY
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=1793140208;
	b=hwEv/OTNppgm7FQemnx8Zo4ecWPxpWLFdpUmw+0fI4yAajB6YZJdC2EseVneMCNYMemV
	 FA/ccb0vZmNOeB9O1NLWUb+hy78/TBV2EubA/YJiwYZENQ/Z3pGlFkD20UwWhoUsVHWVz
	 3WPVpJXoG6x2il+tz71UNANf3SVT+LSN4DxFNeTQaCOOzDFGtsmqSZzrJSJ3RhnYFXjO9
	 PN7grFf430KNVmYsCvCACG3V4S/MRRknzKseZlpA1b7JrQ3cDfmYK4KRug/iwCcB41CMQ
	 QUTOSAVITR08JFDlQ0/RRyyDqjtJleLmu+ZjboaLGuT2kcAIyE9SxcaZ2HaAjjVbEkw==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1793140208;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=Icmy+kcn+FXvIaWbc4wQxTRCPswqqvM2uKUM5JzYh9k=;
	b=3NqyP1YTfigqfoWP8y978SDcxVVEjXVZ0Z6erYA+mWzSmKL1rnULj2M83map2hblmmLi
	 sj8hES+kyeQrrFWbBFMf/lis0wt/+XnxzKP0+FI6UP9me1Z2jpdSxXiT/dXJl/IPvTPVy
	 pm4AGJGkFyeeDgNYj2YKu3icmG0uH6ZL5ir2PTsOxTaky1JI75f9zrYKDsAs3JcyLhLJy
	 txcH60iKWZsCyxsH7D/WwSxbL/3Oa23GO5DXewGQlDPOXwPihAtzw08PIAZY9uvRNFaP1
	 X2HpzRRLozp+G375mLSkYqcX87NkuLBFAeehlSatW/YntHKYpPIxzJDhEZm56ozimbQ==
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=l0MyecWY;
	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 54525606A32F;
	Tue, 27 Oct 2026 22:30:08 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FC851F01829;
	Tue, 27 Oct 2026 22:30:08 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1793140208;
	bh=Icmy+kcn+FXvIaWbc4wQxTRCPswqqvM2uKUM5JzYh9k=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=l0MyecWYboY/ZSxKM0kTOT6dTz9bmxA2vyPYkRxgHRaPM9LrALwkyTp5hMAO/HQgj
	 jWMh+hzefOKF/FLB9l4xhU4u+fJuEnUwMxugNoT6HhEUJnF0zxY/CiZA/WaUC1Ll3l
	 DD2jg1U6tAxOFDH5G52Mul6ShYib5JfCUT9tXlcfqj62c7zG+yOG3lLFKrtYJX83/S
	 bcO1WY6Lnpr/6dGykZEsY/X61j0jaMTCAj+zRR50wxOgeGB5PgbHBqIZsE8yEV68Kt
	 GD41CUZOGH9dgQg2W423YKlIo8BZF8I6JdbUUfrui4J4el/XqynG7HZE238V3AQAWO
	 6dlRobN1UC5/Q==
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 27B673AA940C;
	Tue, 27 Oct 2026 22:30:08 +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:  <20261026-lan966x-ptp-stale-tx-slot-v1-1-9f7c895eb1ff@microchip.com>
X-Cc: horatiu.vultur@microchip.com, UNGLinuxDriver@microchip.com,
 andrew+netdev@lunn.ch, davem@davemloft.net, edumazet@kernel.org,
 kuba@kernel.org, pabeni@redhat.com, richardcochran@gmail.com,
 netdev@vger.kernel.org, linux-kernel@vger.kernel.org