From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us.padl.com (us.padl.com [216.154.215.154]) (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 C65A8321F5E; Fri, 3 Jul 2026 21:26:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=216.154.215.154 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783113997; cv=none; b=I3GvwsWuRCm3FAWPbHYuu8gvCnlE2IRjTmIAvgt+p/EJZ4GieGNWc20LfFuiRnC9DlK7dWxr1lbFJ3bQ0nrYQIK5YlhE/zkR0YGzgBFszK+KjXx5BPf0UVPdEvRqYTV8eJupy+r+unvokXO8ARuwlYFw9piwb9/uoNAqKDatfg0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783113997; c=relaxed/simple; bh=Cgvja1csagqIuj3l03WPZ0P+vDgHGECsuqBP6iYqpz4=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=mX/99L0xN067KckTcyDMhueNFiPp9Zkxjw09M2+g9/0Hcv1Xfc0p3cJ2CyI96PZItizD4GmDd7pIAW4Ndu1+/26TpgQS4kcpTp29Lhvi2lJ4E6u4Do2CZmeOLXrhlZEuuRziRLQU8QMHeFZlk6xtTDt2SU4OkQPqTWmgPXP9Ig4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=padl.com; spf=pass smtp.mailfrom=padl.com; dkim=pass (2048-bit key) header.d=padl.com header.i=@padl.com header.b=FNWviYZD; arc=none smtp.client-ip=216.154.215.154 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=padl.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=padl.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=padl.com header.i=@padl.com header.b="FNWviYZD" Received: from smtpclient.apple (119-18-22-158.771216.mel.static.aussiebb.net [119.18.22.158]) by us.padl.com (Postfix) with ESMTPSA id D919C60C04; Fri, 3 Jul 2026 17:26:28 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=padl.com; s=default; t=1783113992; bh=Cgvja1csagqIuj3l03WPZ0P+vDgHGECsuqBP6iYqpz4=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=FNWviYZDi8isdlvj62xm+zAoL5JHflicHkGIXGqMmyuHC5dUrIBdcM4wnKCCQXYw4 IxQh9LJiQLSATeRFzwnP1XYQCFBCogkZH4Ya1V4luzm38lVnTjrkfmO+Q/c9eX90NS 6WX1e9Ilv/VuMf0o/9AeFCP5KGUiV6/aWw0ZDgdeIr9d5tQ6JdJG6MCBbmjLi71XPS KKIwNbg0bkoRy+jRj77bNlT0FmCk1fz+tlby9ZtAB8Q7QHUbGDH8p65sMZRnsOfYV6 QTPGg+aswlkpktfHX86P5wuA7d/6wox+FAf8ByjcyA1LAw8GBlF6/wdH4qnYhh4j4X 2ZPTavM8JxDiQ== Content-Type: text/plain; charset=utf-8 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Re: [PATCH net-next 2/2] net: dsa: mv88e6xxx: embedded PTP timestamp support From: Luke Howard In-Reply-To: <6cc25a97-3702-42d0-a667-11494bf5cbe6@lunn.ch> Date: Sat, 4 Jul 2026 07:26:16 +1000 Cc: Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vivien Didelot , Gregory CLEMENT , Richard Cochran , Cedric Jehasse , Kieran Tyrrell , Max Holtmann , Max Hunter , Christoph Mellauner , Simon Gapp , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <67304C07-AE75-4881-965E-43F0F66BD270@padl.com> References: <20260703-mv88e6xxx-ptp-fixes-v1-0-0138581889a9@padl.com> <20260703-mv88e6xxx-ptp-fixes-v1-2-0138581889a9@padl.com> <6cc25a97-3702-42d0-a667-11494bf5cbe6@lunn.ch> To: Andrew Lunn X-Mailer: Apple Mail (2.3864.600.51.1.1) > On 4 Jul 2026, at 1:13=E2=80=AFam, Andrew Lunn wrote: >=20 >> + /* Arrival Time Stamp Mode (ArrTSMode); see the ArrTSMode encoding = in >> + * hwtstamp.h. Zero (the default) leaves arrival time stamps in the >> + * switch registers; non-zero embeds them in the frame, either = appended >> + * as a trailer or overwritten at that byte offset past the start of = the >> + * PTP common header. >=20 > So how do you indicate trailer? ArrTSMode being 1 (matches switch register interpretation). Will remove (c).=