🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #12347

Re: [PATCH net v2] net: ethernet: ti: am65-cpts: keep port and direction when matching PTPv1 TX timestamps

#12347
From: patchwork-bot+netdevbpf
Date: Fri, 06 Nov 2026 22:50
34 lines
9507 bytes
Hello:

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

On Tue, 03 Nov 2026 09:42:52 +0100 you wrote:
> From: "Jesper L. Nielsen" <jln@pascal-audio.com>
> 
> The CPTS reports the message type of a timestamp event using the PTPv2
> header layout, i.e. the low nibble of the first header byte. In a PTPv1
> header that byte is the upper byte of versionPTP and always 0, so every
> PTPv1 event is reported as message type 0, while
> am65_skb_get_mtype_seqid() reads the PTPv1 message type from the control
> field. To make PTPv1 match at all, commit 1b9e743e923b ("net: ethernet:
> ti: am65-cpts: Fix PTPv1 message type on TX packets") overwrites the
> whole value compared against the skb with the skb's own value once the
> sequence ids are equal. That throws away the event type and the port
> number of the event as well, so a PTPv1 skb matches any TX event with
> the same sequence id on either port. For PTPv1 this defeats
> commit a23c657e332f ("net: ethernet: ti: am65-cpsw: Use also port
> number to identify timestamps"). The overwritten value also sticks for
> the rest of the TX queue walk.
> 
> [...]

Here is the summary with links:
  - [net,v2] net: ethernet: ti: am65-cpts: keep port and direction when matching PTPv1 TX timestamps
    https://git.kernel.org/netdev/net/c/c4b75e64aa5b

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Technical Details
Message-ID: <179400540817.914342.9340472227607828483.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-358205-linux-kernel-netdev=dewy.ru
References: <20261103-am65-cpts-ptpv1-v2-1-e1f79ed1ba60@pascal-audio.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-358205-linux-kernel-netdev=dewy.ru
From: patchwork-bot+netdevbpf@kernel.org
Newsgroups: linux.kernel.netdev
Subject: Re: [PATCH net v2] net: ethernet: ti: am65-cpts: keep port and
 direction when matching PTPv1 TX timestamps
Date: Fri, 06 Nov 2026 22:50:08 +0000
Organization: Usenet Network
Message-ID: <179400540817.914342.9340472227607828483.git-patchwork-notify@kernel.org>
References: <20261103-am65-cpts-ptpv1-v2-1-e1f79ed1ba60@pascal-audio.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
Injection-Info: usenet.network;
	logging-data="3994657"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:Qqg3XNc+9z/P759TeP27ize16Kg= sha256:BXFhzfbtvEfDOTipvwss4YVqqEN1pi8V5td9mbgZi1k=
	sha1:rmKKMy64EYEA8rYy1o38VH3ZxYM= sha256:QWXpKQTjzHZs3y//X/+DBQjAVIO51pkYqwNhRSk4xKc=
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 25569113361; Sat,  7 Nov 2026 01:50:57 +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 gKo_SMXWsOx6;
	Sat,  7 Nov 2026 01:50:53 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.105.105.114; helo=tor.lore.kernel.org; envelope-from=netdev+bounces-358205-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 AC9E8113363; Sat,  7 Nov 2026 01:50:45 +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 A52DD2A855; Fri,  6 Nov 2026 22:50:12 +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=1794005411;
	b=RpZJUrZUTHytFQ+/qOrGq4Wo5uRC5I5sMqyH/qI+dMS2cjlYcVxYdQQfbtGrFWcwsg5j
	 CR6GcpfqF5JPlQduKgNrtS0gQP7xrfHuFvX7hc5pbsJbbXtvIkJxwaf+/uFpESePS9kbl
	 mS35lY4CH86EH1G8EtWi/1yz2nSJHNmgb4jUJACF23Uxx/FCHBP01SFjufeCHna0H14dI
	 /DSuDC2A5fvLuDho3lNuEo2//J5gQC819jct4OrbxB7IRPS8rEkHBpAhm37GjqV612h+Q
	 /Eci4+O4ItI7dz7Yj6v0rxWTElHkbkBYBX2BOotaPyJ1lhviW9guUw2qW5Q/FOy/FNw==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794005411;
	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=9ZLpQyvtdYVGyID0aWXmsg785XHobyy6QQXDYoshbAs=;
	b=GSy3WAQeH1D6xe5WJEanWt/+dfS3a7B6Y3kkZXZGF8i+ZVJ5Oyy27Jifzt/R21DcYXGZ
	 TBygSwASkKBTKkyypxclElH7jR+s/mBmoun21PCVGssaus/ziNGQD6K/OQUPbz/LPnPTc
	 wMzJJn7++Bk0U1tlFLZ1+qC6VwNxOG2aMT4rTJmnWet+E43ytLVYJpZZBpRU+ZaehVENG
	 oF6dKYsVs6R+KkzFYKKDM6YTczb4JiBo/aci+ZwxY6xgQETMZdcb4BQdDnriECGcnkpH6
	 hsNlnOo6lC3szlQFFWJtYivkNQmfPw/TaEAVvuq8um5iUWkG0Mj9Utu2muem/WvR8cw==
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=HfAcyqCY;
	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 0B066606A334;
	Fri,  6 Nov 2026 22:50:11 +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=HfAcyqCY
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=1794005410;
	b=pMGzjlx4iW2qfqvxnGVzqykVGNyYihjooLngye/5FuydOCD6fCIGUbpJsWr0/dwhupSP
	 bouwUOIQq2vmETDsAjGm9NTbHeL1mG+r+rbvdvFUSLWB4Rx8vKx0RDsmYUyse/YQyKBeY
	 y6CXTiK37/Rtlzu/BMXyyBFQwkJwTarYHZJIilR1ZofGIJpNzkyDz1EBudzD5+vuFWzXj
	 qUCzeXMYit7X6P0KgeJ0kZShuFh19njNRtn0/sPDLYsiILgSZ2O7emOXr0G6FoVFqX9gH
	 TEcrw/DXQItC8mKbNSNnsu7f/bqFw0nwCzMW8j6GPyV7FOR7rYoC7vj3Poy/VGNWloQ==
X-ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794005410;
	h=Received:DKIM-Signature:Received:Content-Type:MIME-Version:
	 Content-Transfer-Encoding:Subject:From:Message-Id:Date:References:
	 In-Reply-To:To:Cc;
	bh=9ZLpQyvtdYVGyID0aWXmsg785XHobyy6QQXDYoshbAs=;
	b=RP911fTtaWlvEDqBbpvYlsyQjmRC6ErTmEO8zPC3CE8Mm2cteGaxdIG2eHwCbegWgyrb
	 pxjhpM+evrYrS2JPhhkjmzQYtF4P8Pf2RhvoCAIqWdTs4C+7KIgrYw4LAVyl2dR4UcVA/
	 6Fffa68X1S/mNNNyVfZLjz63E48wliRRp1vAj6pJDRGMv1Xc88MwjI6SsG60FtNdvv8yk
	 WHQj0LFfjpEYOp56LYPlYa2IhMlGgUNxQQsY6VM1EfJTYzsDQ/LkmxqBth459zI9pGpbk
	 1TlC/Em6pwsnLbrgrVPEkY+gMbdp53JqIo2yeyjpqARoq7CBLbYHKJclzVDhmCxKGMQ==
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=HfAcyqCY;
	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 E34AA606D802;
	Fri,  6 Nov 2026 22:50:09 +0000 (UTC)
X-Received: by smtp.kernel.org (Postfix) with ESMTPSA id A31431F008A3;
	Fri,  6 Nov 2026 22:50:09 +0000 (UTC)
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org;
	s=k20260515; t=1794005409;
	bh=9ZLpQyvtdYVGyID0aWXmsg785XHobyy6QQXDYoshbAs=;
	h=Subject:From:Date:References:In-Reply-To:To:Cc;
	b=HfAcyqCYfNGj2KyDoSSZFC7TwK66fbrCupOLinfxbjZet+8Wi2RsitlrAc/1Ty/z5
	 U1DptM8S9BBKPv7dbWpQohULUQw8u4JfgWbgZZrCts7O9/ONdFxfNP34/UT7IYEWFj
	 9PVm0c9DgycdmBvwfZs+3AMqRsvdNTLCADDuDwdh2Nuc5HarNMcL5h1mj1D7nM+VNZ
	 uKCULw0XJKBM7ffrsXXisnVgq4rmqD7bs4LKMcyCh4K2fHuf44yVDvsJetlc25DU2g
	 7AQeHyxDreplO/lHIJoK+qUP92/dJMohFGB2VqK/32+g+3Tpo3cC4O2jUHB2w694e6
	 AHxiHvmLR6/kA==
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 9B2043A55EC2;
	Fri,  6 Nov 2026 22:50:09 +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: <20261103-am65-cpts-ptpv1-v2-1-e1f79ed1ba60@pascal-audio.com>
X-Cc: davem@davemloft.net, edumazet@kernel.org, kuba@kernel.org,
 pabeni@redhat.com, horms@kernel.org, richardcochran@gmail.com,
 bigeasy@linutronix.de, martin.kaistra@linutronix.de, andrew+netdev@lunn.ch,
 s-vadapalli@ti.com, rogerq@kernel.org, netdev@vger.kernel.org,
 linux-kernel@vger.kernel.org