🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.kernel.netdev
Article #18294

RE: [PATCH v7 net-next 9/9] net: dsa: netc: add PTP one-step timestamping support

#18294
From: Wei Fang
Date: Wed, 18 Nov 2026 04:18
169 lines
24835 bytes
> > +   if (np->onestep_state == NETC_ONESTEP_IN_FLIGHT &&
> > +       time_is_before_jiffies64(expire_time))
> > +           return true;
>
> [Severity: Low]
> Is it safe to treat PM_SINGLE_STEP as free based only on elapsed time?
>
> After netc_port_onestep_work() programs the register and calls
> onestep_sync_xmit(), the tagged frame may not have left yet. It can still
> be in the conduit qdisc, the ENETC TX ring, or a switch egress queue (for
> example under pause/PFC or a closed Qbv gate).
>
> Three paths seem to reprogram the register without knowing whether the
> previous subtype 3 frame has gone out:
>
>   netc_port_onestep_sync_enqueue(), once netc_onestep_timeout() is true
>
>   netc_port_tstamp_timeout_work(), which sets resume_onestep after 5 s
>
>   netc_mac_link_down()->netc_port_disable_onestep() followed by
>   netc_mac_link_up()->netc_port_enable_onestep(), which sets
>   NETC_ONESTEP_IDLE without tracking frames already handed to the conduit
>
> Suppose the old frame goes out after the register has been rewritten for
> a new Sync with a different layout (L2 vs UDPv4 vs UDPv6, or VLAN vs
> untagged). Would the MAC then apply the new correction offset and CH bit
> to the old frame?
>
> The NETC_ONESTEP_VALID_WINDOW comment says such a frame "is already
> invalid, whether it has been dropped or not". In this case, though, the
> hardware could add the residence time at the wrong byte offset, for
> example inside the IPv4 header or the originTimestamp. It could also
> update or skip the UDP checksum wrongly. The frame on the wire would then
> be malformed, not just carrying a stale correction field.
>

Old frames will be discarded by the receiver due to format errors or checksum
errors, so there is nothing to worry about.

> This depends on when the hardware latches PM_SINGLE_STEP. That point is
> inferred from the commit message, not checked against a datasheet.
>
> [ ... ]
>
> > +void netc_port_onestep_sync_enqueue(struct dsa_switch *ds, int port,
> > +                               struct sk_buff *skb)
> > +{
> > +   struct netc_port *np = NETC_PORT(ds, port);
> > +
> > +   spin_lock_bh(&np->onestep_lock);
> > +   if (unlikely(np->onestep_state == NETC_ONESTEP_PORT_INACTIVE))
> > +           goto free_skb;
> > +
> > +   if (unlikely(skb_queue_len(&np->onestep_queue) >=
> NETC_ONESTEP_QTH))
> > +           goto free_skb;
>
> [Severity: Low]
> Can an unprivileged local sender crowd the real Sync frames out of
> onestep_queue?
>
> SOF_TIMESTAMPING_TX_HARDWARE needs no capability. ptp_classify_raw()
> treats any UDP datagram to port 319 as a PTP event, and the sender

I think this is an overreaction; ptp_classify_raw() is designed to filter PTP
frames.

> controls the payload (msgtype Sync, twoStepFlag clear). With
> HWTSTAMP_TX_ONESTEP_SYNC set, such frames take this path:
>
>   dsa_user_xmit()
>     dsa_skb_tx_timestamp()
>       netc_port_txtstamp()
>         netc_port_prepare_onestep_sync()   /* NETC_PTP_FLAG_ONESTEP */
>   netc_xmit()
>     netc_port_onestep_sync_enqueue()       /* shared FIFO, drop at 512 */
>   netc_port_onestep_work()                 /* one frame per response */
>
> These frames share the single per-port onestep_queue with the ptp4l
> Syncs. A flood would delay the real Syncs, or get them dropped once
> NETC_ONESTEP_QTH is reached.
>
> The same sender can also send non-Sync event frames. Those take the
> two-step path and can use up the 16-entry ts_req_id pool. Then
> netc_port_onestep_work() drops the real Syncs when netc_get_ts_req_id()
> fails. If tagged frames are also lost in the conduit, the queue stays
> stuck until the window check fires on a later enqueue or the 5 s timeout
> runs.
>
> The ts_req_id pool exhaustion already exists before this patch. What is
> new is the serialized one-step FIFO.
>
> [ ... ]
>
> > @@ -409,6 +718,67 @@ int netc_port_hwtstamp_get(struct dsa_switch *ds,
> int port,
> >     return 0;
> >  }
> >
> > +static void netc_port_prepare_onestep_sync(struct netc_port *np,
> > +                                      struct sk_buff *skb,
> > +                                      u32 ptp_class, bool *twostep)
> > +{
>
> [ ... ]
>
> > +   /* Ensure the buffer is linear and writable so the packet can be
> > +    * parsed and updated in place. Otherwise, fall back to two-step.
> > +    */
> > +   if (unlikely(skb_linearize_cow(skb))) {
> > +           *twostep = true;
> > +           return;
> > +   }
>
> [Severity: Medium]
> What happens here if the frame really is a one-step Sync (msgtype Sync,
> twoStepFlag clear)?
>
> skb_linearize_cow() makes a GFP_ATOMIC copy whenever the skb is cloned
> or
> nonlinear. A clone is common, for example from dev_queue_xmit_nit() when
> tcpdump is attached to the user port. So this can fail under memory
> pressure before the message type is checked.
>
> netc_port_txtstamp() then sends the frame down the two-step path:
>
>       if (tx_type == HWTSTAMP_TX_ON || twostep)
>               netc_port_prepare_twostep(np, skb);
>
> netc_xmit() then gives the frame a subtype 2 tag. On this path
> originTimestamp is never written, PM_SINGLE_STEP is not programmed, and
> the correction field is not updated. The frame still says it is one-step,
> so no Follow_Up will be sent.
>
> Would the slave then compute its offset from whatever originTimestamp
> user space left in the frame? The socket would also get an unexpected
> hardware TX timestamp through skb_complete_tx_timestamp().
>
> The commit message says:
>
>   "Frames that are not one-step Sync still fall back to two-step
>   timestamping."
>
> and:
>
>   "If the originTimestamp field of the sync frame is not in the linear
>   buffer of the skb or the correction offset exceeds the hardware
>   capability, the frame will be dropped."
>
> Should this path drop the frame and count it in tx_dropped, like the
> offset check further down? The ptp_parse_header() failure falls back the
> same way. There the header is incomplete, though, so that frame cannot be
> a well-formed Sync.

From a software perspective, this is a trade-off and cannot completely solve
the problem unless skb_linearize_cow() never fails; otherwise, the driver
cannot parse the message type. The issue raised by Sashiko can indeed occur,
but only under memory pressure. Once the memory pressure subsides, PTP
synchronization will return to normal. So there is nothing we can do this issue,
I would like to leave it as it is.


NXP Confidential
Technical Details
Message-ID: <AS4PR04MB933806268CA9276C44A5696D887A2@AS4PR04MB9338.eurprd04.prod.outlook.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365857-linux-kernel-netdev=dewy.ru
References: <20261111062753.1397582-10-wei.fang@oss.nxp.com> <179472746829.2199510.2714083926199671078@kernel.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!usenet.network!.POSTED!vger.kernel.org!netdev+bounces-365857-linux-kernel-netdev=dewy.ru
From: wei.fang@nxp.com (Wei Fang)
Newsgroups: linux.kernel.netdev
Subject: RE: [PATCH v7 net-next 9/9] net: dsa: netc: add PTP one-step
 timestamping support
Date: Wed, 18 Nov 2026 04:18:10 +0000
Organization: Usenet Network
Message-ID: <AS4PR04MB933806268CA9276C44A5696D887A2@AS4PR04MB9338.eurprd04.prod.outlook.com>
References: <20261111062753.1397582-10-wei.fang@oss.nxp.com>
 <179472746829.2199510.2714083926199671078@kernel.org>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Injection-Info: usenet.network;
	logging-data="2501850"; mail-complaints-to="abuse@usenet.network"
Cancel-Lock: sha1:wR5fbJ/+f2wLXHLwmuFPkybMplk= sha256:7uFhsraayScglHCBWf1FoshnmPRgN3DHveKdGt5Ff40=
	sha1:uz7xp6UVIC8HvcOGC4hf1sbW5Gs= sha256:6oOcd9JyI1Djs4d6X5NDHCo0NH0NmtSPJj3bZnghygE=
Content-Language: en-US
List-ID: <netdev.vger.kernel.org>
X-Mailpost-Empty-Hdrs: X-Spam-Level
	X-MS-Has-Attach
	X-MS-TNEF-Correlator
X-Received: from localhost (localhost [127.0.0.1])
	by mail.dewy.ru (Postfix) with ESMTP id DF2E5115198; Wed, 18 Nov 2026 07:18:44 +0300 (MSK)
X-Virus-Scanned: Debian amavisd-new at usenet.network
X-Spam-Flag: NO
X-Spam-Score: -3.05
X-Spam-Status: No, score=-3.05 tagged_above=-9999 required=6.31
	tests=[DCC_REPUT_70_89=0.1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
	DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249,
	MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001,
	SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
X-Authentication-Results: mail.dewy.ru (amavisd-new); dkim=pass (2048-bit key)
	header.d=nxp.com
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 KAZnJatlmYir;
	Wed, 18 Nov 2026 07:18:36 +0300 (MSK)
X-Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=172.234.253.10; helo=sea.lore.kernel.org; envelope-from=netdev+bounces-365857-linux-kernel-netdev=dewy.ru@vger.kernel.org; receiver=<UNKNOWN> 
X-Authentication-Results: OpenDMARC; dmarc=fail (p=none dis=none) header.from=nxp.com
X-Received: from sea.lore.kernel.org (sea.lore.kernel.org [172.234.253.10])
	by mail.dewy.ru (Postfix) with ESMTPS id 5EE5A115196; Wed, 18 Nov 2026 07:18:25 +0300 (MSK)
X-Received: from smtp.subspace.kernel.org (conduit.subspace.kernel.org [100.77.114.92])
	by sea.lore.kernel.org (Postfix) with ESMTP id D38963AC12; Wed, 18 Nov 2026 04:18:21 +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=3; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794975501;
	b=tAmHKaHRw+tat4jHT7m7ok/mF/SNQ7nySZg2h5WApoG+wbg4gpiTrAe92wLdDVq68TuF
	 iypl797RMFuWcY55aSPJoG1lienCjDhNbd2cFU6+DzgpTHWOsWZc1435Qc+KHXRSVz26W
	 qtDUKXyq9bFM4Q0nZYhYFXiJMxd9qnZvF4Jsiyccp0UagFgFqgfHN2uxVOm6PItQyHp6p
	 BujDg75RlJYJDd1JyeRauwecHcGNkn8+0S0ncv0UaxoG9eheDr0bRwQCZCvoLkJwdtsPq
	 27UFT1M9bDm7hR0Dw5R//X3wr0BdQyt0iUayO06ZhQXlxbXNa4E7D9unJKPE+dWUmJw==
X-ARC-Message-Signature: i=3; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794975501;
	h=X-Original-To:Received:DMARC-Filter:DKIM-Signature:Received:Received:
	 From:To:CC:Subject:Thread-Topic:Thread-Index:Date:Message-ID:
	 References:In-Reply-To:Accept-Language:Content-Language:
	 X-MS-Has-Attach:X-MS-TNEF-Correlator:msip_labels:
	 x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck:
	 x-ms-exchange-antispam-relay:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:x-forefront-antispam-report:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:Content-Type:
	 Content-Transfer-Encoding:X-Mailing-List:List-Id:List-Post:List-Help:
	 List-Subscribe:List-Unsubscribe:List-Owner:Precedence:MIME-Version:
	 X-OriginatorOrg:X-MS-Exchange-CrossTenant-AuthAs:
	 X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype:
	 X-MS-Exchange-CrossTenant-userprincipalname:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=vnQPJjjH6hN5V7veicXc949/FeYS+wOHdGFONuB19cA=;
	b=IUejCrGknEs/tRUWPgzVxoN5LLkpNQD556Mw+PvDpk8r8W4qymnlMoTeSF9knK6y1HcA
	 Gc3y8mjgE2IBBmMBtF/jq4EcIDjil8LKsEpHx7XJhaQIzuScgm8OUqsMeupMjSTsjeTt7
	 TggJho9TF7OmsnhJ3kre96MDM0y8J2+G3XeDeRR1rtOcW/mfRnr58yg1KReTwEqcyMhLP
	 9De5+7kfGHKLtlO6bhxguqS/FTGIxAlPJMVPjy8FriacAffN16zqDzPOe1wJyCClAIrrT
	 PlYuyTfabac1c1X9zOe9nlBXp2uCHGD5PcQ+04i2jO1Cj1SJgtXsdvfi1a6XF59y0/A==
X-ARC-Authentication-Results: i=3; smtp.subspace.kernel.org; 
	dkim=pass header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=Mt3PzOCp;
	dmarc=pass header.from=nxp.com;
	spf=pass smtp.mailfrom=nxp.com;
	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 A1EF9606A334;
	Wed, 18 Nov 2026 04:18:21 +0000 (UTC)
X-Authentication-Results: smtp.subspace.kernel.org;
	dkim=pass (2048-bit key, unprotected) header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=Mt3PzOCp
X-Authentication-Results: smtp.subspace.kernel.org; arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.69.39
X-ARC-Seal: i=2; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=pass;
	t=1794975495;
	b=CeRHZHCKagUjgPoPs8qYek744ofjr/4anYNrbN2bA5za5eGqhhKvIygAOMSVDLahULwh
	 /6Vts+O9zKEGT/usticjsXkQV2RBxyfc4764CxHuB0lPrN6HD2O82pM1Tf4jeLxM81XkP
	 gkocznCaZKg5Ok1jJXQwrbCgu2oDu8wMfcJSnlXKEWgIjcFcuviZSjIYzCQ5Cm9zUuBDH
	 spgsUITrGP4kBHIYHFb54znyPsrlBbV1mu1qFu/VTYgfimirF9Rl4kE96Vq4VUZVGDPD+
	 BHjMtwSzFpwoQKBgXA1LZ4VCw3HwlPmtaDmfOSZ10KfnHEQbJCIizBsCZEaWJcWG7og==
X-ARC-Message-Signature: i=2; d=subspace.kernel.org; s=arc20261015;
	a=rsa-sha256; c=relaxed/relaxed; t=1794975495;
	h=DMARC-Filter:DKIM-Signature:Received:Received:From:To:CC:Subject:
	 Thread-Topic:Thread-Index:Date:Message-ID:References:In-Reply-To:
	 Accept-Language:Content-Language:X-MS-Has-Attach:X-MS-TNEF-Correlator:
	 msip_labels:x-ms-publictraffictype:x-ms-traffictypediagnostic:
	 x-ms-office365-filtering-correlation-id:x-ms-exchange-senderadcheck:
	 x-ms-exchange-antispam-relay:x-microsoft-antispam:
	 x-microsoft-antispam-message-info:x-forefront-antispam-report:
	 x-ms-exchange-antispam-messagedata-chunkcount:
	 x-ms-exchange-antispam-messagedata-0:Content-Type:
	 Content-Transfer-Encoding:MIME-Version:X-OriginatorOrg:
	 X-MS-Exchange-CrossTenant-AuthAs:X-MS-Exchange-CrossTenant-AuthSource:
	 X-MS-Exchange-CrossTenant-Network-Message-Id:
	 X-MS-Exchange-CrossTenant-originalarrivaltime:
	 X-MS-Exchange-CrossTenant-fromentityheader:
	 X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype:
	 X-MS-Exchange-CrossTenant-userprincipalname:
	 X-MS-Exchange-Transport-CrossTenantHeadersStamped;
	bh=vnQPJjjH6hN5V7veicXc949/FeYS+wOHdGFONuB19cA=;
	b=5XuXh/IpxWzTSNcg9Wm9bNmk3V+M3wd+VUJ+jTFw518vHEsKifmnK3rm15VMRiBlnxEk
	 wPPHkWt/MF3F59aneBYU6fca0WmEUGpXXkshELA828bRVeoUUNVm9+pmhTPYFSQnspyzi
	 fcV9FzzYPL1hfIKLEsutGAIMQ5NqurxYqhJZcx7HJjfxoyPNPmF86xd55IxofewJx+xhy
	 5mWz/ndzyBs8tb9WCcvLWb4ScssOrXIOBDL8H3n3PSWyn3Vv6M7NiEFKRezhKsvLtk1C1
	 dHr3RmWj4Nre81QpTwQ8Y/JLLIMUCuYP5uls4SP4YWZaU7k4v7BoZ696xJxBaLSwE3g==
X-ARC-Authentication-Results: i=2; smtp.subspace.kernel.org; 
	dmarc=pass header.from=nxp.com;
	spf=pass smtp.mailfrom=nxp.com;
	dkim=pass header.d=nxp.com header.i=@nxp.com header.a=rsa-sha256 header.s=selector1 header.b=Mt3PzOCp;
	arc=pass header.oldest-pass=0 smtp.remote-ip=52.101.69.39
X-Received: from AM0PR83CU005.outbound.protection.outlook.com (mail-westeuropeazon11010039.outbound.protection.outlook.com [52.101.69.39])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange ECDHE (secp384r1) server-signature ECDSA (prime256v1) server-digest SHA256)
	(No client certificate requested)
	by smtp.subspace.kernel.org (Postfix) with ESMTPS id F1955606A31C;
	Wed, 18 Nov 2026 04:18:14 +0000 (UTC)
X-DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F1955606A31C
X-Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nxp.com
X-Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nxp.com
X-ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none;
 b=uydlNblYZYNUoRs63a7z0mHvVGgjT8ilEPucWMl9tCdca9i4Nt5gYZ4YNJJNZwntBWbvqoO4fbAWFL9PhzozQDboY7UvyTyo+P58ZvdnNVCYmWi5EJ+ownuk39HvkKe8GeqeowgU2KIuWScD2bhQn4cGZDprtFyP7SVL8PIgCxjGDCd1ZHg7QfFe8IeUYVTly9zvrJkJzfw9piUbMfWFLqWqVQCXkhcs29ZmtTsv/RWJ7sstzxjnMrYqgQLTZyu2fQOFjXZ2lIhH53J2pYJLEEvkwSO51TLWCwm2z5eGIisu8QuZ9dhbbI4sic/5BVRCC4E7vK4ozvsSashIuju74Q==
X-ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com;
 s=arcselector10001;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1;
 bh=vnQPJjjH6hN5V7veicXc949/FeYS+wOHdGFONuB19cA=;
 b=KqQbVvBaO0zoX2B2cnMWwkIMQsBp23C1ZlaV7PjsXY82iBLLbQfG2aI3lulHPvWC8sjSFNhjzUhx5l8pehNwihIyDCv7nb185eDQstVyGQ2SywimdTJzWpX866fjbPuBGURv2IAGahHlHMfjjV5kmwcXojIA3QEvNLRgezKULXfUcX97YbM6UlajWnRBIWTW4uGnq80fX0OYdlq14+i+81oD/Mahb6zh/8GBuca1bQBCjZIhasfmhjX6sZ1wS3U822Tiv+mMGqLL4jfEFoBqi5842+/flwQkl0WisKVV5bfi3jPTHava1vOEEPWqjhweKpn9wcq7jxAMGYNgI7J3cQ==
X-ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass
 smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass
 header.d=nxp.com; arc=none
X-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1;
 h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck;
 bh=vnQPJjjH6hN5V7veicXc949/FeYS+wOHdGFONuB19cA=;
 b=Mt3PzOCp/dJmMIcL7u+wlWS+ycG+o2DpKhWPTuC/fUj2VZXGwLtDp8x5IIPo2of2LP5qe5UhjAjC1nJ1vvGOiyUH0SVEMsmV4W+1L8D2G0E2vTYD3Hg5ret2WkkgZ0wnTLVFT0BKUh/UdIvXo5HP2I7452JNEo3y5xgwYSxl3fClgBN5u74j4cX3AlFRvEkbejAhQLnXH820yJvafQ1/itDvgxhZdh0xXfUk8E8PejMp1gJZ2xwD3DUp5aPga34GoHDy3E1xj6hShhNReZr4wepyCUmhVUYtaTlKGRrUv3UBuAM+TjiZtf+gJz59qn/9bwnQMzfJ5UXvlZUwF5lD+w==
X-Received: from AS4PR04MB9338.eurprd04.prod.outlook.com (2603:10a6:20b:4e6::17)
 by VI0PR04MB11940.eurprd04.prod.outlook.com (2603:10a6:800:307::15) with
 Microsoft SMTP Server (version=TLS1_2,
 cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.615.14; Wed, 18 Nov
 2026 04:18:10 +0000
X-Received: from AS4PR04MB9338.eurprd04.prod.outlook.com
 ([fe80::7c4c:9c56:8552:f680]) by AS4PR04MB9338.eurprd04.prod.outlook.com
 ([fe80::7c4c:9c56:8552:f680%7]) with mapi id 15.21.0615.013; Wed, 18 Nov 2026
 04:18:10 +0000
X-CC: Clark Wang <xiaoning.wang@nxp.com>, "andrew@lunn.ch" <andrew@lunn.ch>,
	"olteanv@gmail.com" <olteanv@gmail.com>, "andrew+netdev@lunn.ch"
	<andrew+netdev@lunn.ch>, "davem@davemloft.net" <davem@davemloft.net>,
	"edumazet@google.com" <edumazet@google.com>, "kuba@kernel.org"
	<kuba@kernel.org>, "pabeni@redhat.com" <pabeni@redhat.com>,
	"horms@kernel.org" <horms@kernel.org>, "richardcochran@gmail.com"
	<richardcochran@gmail.com>, "linusw@kernel.org" <linusw@kernel.org>,
	"linux@armlinux.org.uk" <linux@armlinux.org.uk>, "imx@lists.linux.dev"
	<imx@lists.linux.dev>, "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>
X-Thread-Topic: [PATCH v7 net-next 9/9] net: dsa: netc: add PTP one-step
 timestamping support
X-Thread-Index: AQHdcaU8FIWnfsUcvkazg7XTHvzRILcuwWcAgAR9yZA=
X-In-Reply-To: <179472746829.2199510.2714083926199671078@kernel.org>
X-Accept-Language: en-US
X-msip_labels:  MSIP_Label_0d9c909a-577b-4ba2-96de-69ada94b137a_Enabled=True;MSIP_Label_0d9c909a-577b-4ba2-96de-69ada94b137a_SiteId=686ea1d3-bc2b-4c6f-a92c-d99c5c301635;MSIP_Label_0d9c909a-577b-4ba2-96de-69ada94b137a_SetDate=2026-11-18T03:59:41.0000000Z;MSIP_Label_0d9c909a-577b-4ba2-96de-69ada94b137a_Name=NXP
 Confidential;MSIP_Label_0d9c909a-577b-4ba2-96de-69ada94b137a_ContentBits=3;MSIP_Label_0d9c909a-577b-4ba2-96de-69ada94b137a_Method=Standard
X-authentication-results: mx.microsoft.com 1; dkim=none (message not signed)
 header.d=none;dmarc=none action=none header.from=nxp.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AS4PR04MB9338:EE_|VI0PR04MB11940:EE_
x-ms-office365-filtering-correlation-id: dc2fc065-acab-4e5d-0bdc-08df452af4c1
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam:  BCL:0;ARA:13230040|366016|1800799024|376014|7416014|19092799006|23010399003|38070700021|10067099003|5023799004|4143699003|56012099006|261026140227099003|11063799006|261028144727099003|261021121427099003|261022105027099003|261022075727099003|261026121527099003|261021123027099003|261102123227099003|261009223027099003|22082099003|18002099003|6133799003;
x-microsoft-antispam-message-info:  /nmp85ks+s7wa3zg0jPfeIJ7TzOdxARjWrkkif6Iq/CKuDVRI01WZFh6sV4SyDTajUE8+WOLXRMETdy2qqTiAa4+wt0vZtI6gHoZvP8lGVt2wmow3G8eXsgEMDcZAOLSgaz+8oQjUywcDafZd32mq7fH1kmhGQxBahMdaftzpz4cY9Ku5wPr+p4c+urLSAJlFkZno2E7qojRYec3B+nq5uZAMITvErWC2xDsQEIEFMV5OuFaAOROEZvEH0v2geEKyXtwvw8gUkNMOXudT/LwFK041Nput2E5Oryd5l7tU1G3I2psULu8y6GvR3YzzYJ8fQT3SDlz+bNj47xjorL24fKH3s9rxroSfxwV4tJfg2ZmAbUbDMcU6pUxflUzQX8OFCMyzgVLfZGMw+ahOTcy++K4xtivhQLMmkNFqcIc5wjE+viylG1pDOvkvERVbWb6vQ/3T+hfJVTKv1vZbJCOKtGWxis9ze0It4BwuEFbdabd1CUhA2R9w0bqoBfQrwuxkUFjAS+92NglsWW5AJRswiqHn1Rsu+MyousA9irFAmLMZjfQcMrP4LHh5WlPASpErArRKw8kXAv05QKzDCypabyi7Tow8pcVK60p3JQ/ZEZrnXJTNxr0QV5ZklO3SZknPk9QE+Es6hb0GnbaaNATh72ItPgQkldtzx6vaM9qv28Ed2oWQZUstQ5tT3VqBY8DbhM3ZZM/RfgxjkLTfVUpXsBVSz4FokBDHDCzNWF5QIA=
x-forefront-antispam-report:  CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR04MB9338.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(1800799024)(376014)(7416014)(19092799006)(23010399003)(38070700021)(10067099003)(5023799004)(4143699003)(56012099006)(261026140227099003)(11063799006)(261028144727099003)(261021121427099003)(261022105027099003)(261022075727099003)(261026121527099003)(261021123027099003)(261102123227099003)(261009223027099003)(22082099003)(18002099003)(6133799003);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0:  8kFfOKaWW0q9QZn6zTqS6s0/h4ry/YTuOTfv4VOCZY8xFnlCXmhzNOPFLmwX9Fh1jreuNDAiyH7yU+WluMxk1lyvIUYBV7kTlTFVE5iwfJ2S5N+nOSUSYKqyHBCAGoav/qWYw44LZKByHnJRNdRhiXLnSJLaBqZvG+4LmMa8iZavIrREipojtkxUc8GVYV2KYrWijsy2nTCaFcvvmqap7QtjRylm8WItZXokf8H6sQ1jNh6jVH4tZbZbdjBUveABYLYkwvklGvlWbp41hnVp7ygsTKhKu7NGuO1Fzte+xHJdwUUhv+gCjTuiR9l6f+WaEXZYAgRGOCegXUNAEnNuyyM+wH6dNo3kV+0hiWFEioPNL2msV4n7R/bUXk64DqGu+ZNBwmCQU5tBRetVPXT/wrm7jBIeEJ8ZQJjReRsUTyzHz+w2u24FYY1RhrkDqg1poAQ/hXbdbQ+pdRoR0yqPU6Nazbr3fXd/RVyoSU0dybjJlaZBXEbbYgVdOt12yE6Jd0iSdB5TlwfQOroyZf/R8b4dU9teu2+RUNXMJXL16Vktff7dOe+vm+cF+wBel1aNbKlqhYG9fqeun2KunbBU7JXCe7ptJy1pfHdxtL0LB2QeTcmlqU//vrjbcXdeCpA12Gf5kmgSWo+W39YrGn3TJoJkhnbGKGtd3qlpcq6ai0igeIth9acunHCNpeJzde8lmRi1o4q8IxWnqmRk3gbzUCyHe83gCvQ4Sib7YwJfhYFUHBu9LdkWgte+UTI283AA9/K5uJAoHrXSYJVsmS2W+fLt4+YXhGwczk7ZxUBSng/XH9aFmsY8UtwaGIvJielSQsW3mzihJeVpevZXvqFEcvYFIWqynHCS4wQge6FekB6ycQgvvPv5bRQzzxuMo+QBooeZIse5H7OkeB/eaOr7FPxAcKR2uZUoWfG6km5XbA8NyQg6/GNFxxtRdQYkGiaAfsV3uVEatjMjrK4rS59VvJ+Ddit/JomvWtD4wqra+A0ixaJ+fZKAYRu5tHgMRgXdLDaurGUxx5/bW8ZXDeO5/gABTWMu8vaAJxv2i0vp0uY+mv+321zjTEj3mZl9sPcX0okq/aCJw2ll3g2XYx+kO7raVhzNeP5NW/Qa+fN4Proy0LZqTQM8LzMmSKHQNiWvQ/lLh93IzdVVdlT9JDy/1+9j9UykQPlfN9GVu0pOvQTX1bfu6o/XLLb5JOeMNNWO0MKmVM0bqKSrOqO0x4qgHp/GqSa6Lxy2w3g5ifUud9wemDlsjGK5eZxpN+gk14abBwCqiUTKoc+/HOveaVUNkpDZKGGDG1fx1AeKzRNYUA2QF1ZDqa6MtZJ+0OPRLG1I3lEf1Qvc91TvWODtiJydwnDH1FVBEbe3bq8Mf3//QbMakwscpyatlFTrMQv3BjmVHB4HSwyaNj6e9KSTKJ9aTODGxD5EHYI9Fwphpybm9jwCG738HWqigaHFn11RftmKjD1AqQUPczrEEYtHKJ5rp0t0B6rjaWIBTMYztShTe80oAQyEnAugUnqXumb2hZ2WPUBY2XnfKdVMDuEDCe7sE+1beBQPBhYJuC+E5CpPDHBOpyS4vURxw/GND0oZfkGIMp18xmcc9zWA/1GtFYUq4BuGKSUs2kRO8CVeBohTHNjGF9TIbBYouKItdtfZcaccAB54NgdZcX+DUXad4VYjbOLAy4AuHIjYNusc8Ztk5ADx9GmFeC5J6aNQiuZHEbPb
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-OriginatorOrg: nxp.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AS4PR04MB9338.eurprd04.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: dc2fc065-acab-4e5d-0bdc-08df452af4c1
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Nov 2026 04:18:10.6623
 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: dY9VP5y6eUds2dxVWpFgqr6cDJPFQL6fkvg6KRUDWZ7mNmP1fE4S/rdn0fxK6ktH2UTjmZYITTwts/b6PVsgqQ==
X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI0PR04MB11940