From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8C058378D70 for ; Sun, 19 Jul 2026 23:05:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.48 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784502332; cv=none; b=lkMPVXHH0Ekij9GiSgFe5fn5FSNl64rlsmdhaDQfXxZnVcXzISES6OOyWllydHbzZHHBa02uWDKahg1FnWIA5JhJinhAs/lSK/dixUfbBvTBCsgLIi3ICjXolqo10ewEBGpa4YPhRVCeQcfY/Fn+F5C6AxhvgKluYvyXg32bjPY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784502332; c=relaxed/simple; bh=3fxW+4gs9/iUpg+Fia7rQmQId5PnlfgU2NbSFgIflkg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Mcjn8JHQahXvoZLYz66X9jSKokoKHxiLRN50lx7guwRXe6VazgJBFpyu0UBlPZYc6skN2q6FEcdVUJUnh0YQWDhoy9quScXQe7wIj6sVzKsWcnuTfobr+uhN9DzKiWwCJBz/HriSLHFBc38bd4fY9Il8XkJ+RgWx2vHKNFNctjs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=KBszSJBP; arc=none smtp.client-ip=209.85.128.48 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="KBszSJBP" Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-4955c545a94so426365e9.3 for ; Sun, 19 Jul 2026 16:05:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784502329; x=1785107129; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:from:to:cc:subject:date:message-id:reply-to:content-type; bh=RqPTbLt9S11oOXHynyNyI3hmcOTYHrhXVPfD1vKLcOE=; b=KBszSJBPnDGMgjzcdaeZfOZueIXmmyN5Vrd729b62QStjFKP+WnJrvev6gYxo6wAI8 DrW5sSZG/9dSeJk4ThEMSi+hPJekTmcv0Vt1o354RABI535BWK7dzjNsUNu73kj5IU42 zyEOpsIhUybZtq29JqM8zXydxsr0dDp5kujXHVNgdyXiwFDcxW1ZoYG1xFa+/0eYgxeG w6Lu+uWJCzSz0jk7weyqGZSwJk7uSzTkZGwxIgzq57Sm21RBfuJinSeyTpc1mqk6qUcg TqmhZuiyd14jAj1W1fFO0GdgLC/zuxFfhtVmcAQQm3GxznoEFdNZ/Cw+jfNO/mwoWTHM aupA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784502329; x=1785107129; h=in-reply-to:content-transfer-encoding:content-disposition :content-type:mime-version:references:message-id:subject:cc:to:from :date:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to:content-type; bh=RqPTbLt9S11oOXHynyNyI3hmcOTYHrhXVPfD1vKLcOE=; b=NL4t+SBal9xUbLjdM6g5ygme/DCC/BXlnyTJdsJnhCmZCyYnVURuYQl9Tx0cNyaokw ShTHsjT85Nr8O5CkAU9dPZIcoHOtQ6BupEZ8SOiYElrC1Rvq3Kiv9LBw+pw09nVxZNT5 zNAn/EAK2qSSJvCtjzin/+WaINU1Y9hEovu/zAisZioaa97z5wo3Clzij+7tUQJCOQV/ GmptmdQrg0mCd3wEGun1u/ucnGmHQVLsNBOllnf3/alierc3IGPeRWGpglCLQrLVbtSz dJWwPcWznKABuAdgvMgbfWDQBXRzX0LoyRK2E01uh/XJTHlM9VnRfq3mMZJn/cxeWACT SgZQ== X-Forwarded-Encrypted: i=1; AHgh+RpsLLNonsUanvYpc0QfJK1/DX/qsxI3oQ4mHgQyH48TQpv+nCpjo5ilz2T19CLXqR0luXKsxZ9t7P6MJVM=@vger.kernel.org X-Gm-Message-State: AOJu0YyTHdkO4q7QDSf9mZwqKFG4YhLMOvL58r5+zv7mABgAnZnz3gh/ xFQgceQQFmZwGEQVk9zZD6Bmxh47gix4dOC9J347PbaBMM3nHoRBRY6K X-Gm-Gg: AfdE7clAAAYvsH+Y76Km7S7bPE+Z7uy/t3sR5jb/ZWhQ3qoP0Ik7xlT+UC8jJqTvKqE tn1CRgbm2C6t8JQ8LjYt6Hr2/zXgdZUST8kcFZZSsWSGpNAV6KVpjPKpAVKwLlQ6wQXbXNassZr AfwlW5wm9DWgedJ4rzy7aDlZxea1if4MnYaNbQhzSB6zdLghxVNJuehrU87MGBWMgwWdGx6IKT1 Slu5KLgnZbyuWKm3WIW7xKgctP+i2uhoSgc6bsmFhZd7pEf4p7xPVLYGjkfXv2sahrIX+LliVgU pRYwMeW87b1BlMSGsDbJnwpIyJgaTwo6hfgUBdi3gXubNtxmuXn8A1cp74jHM684C6LgMd2uhBC XLIX/4CkdmmAUEAiDKAd2WmInzdmoQmp4eNouRa8mp5lXQgCeytOzJxiMRxAe9m0uXmHiOj9S2z Xs X-Received: by 2002:a05:600c:1c23:b0:490:846d:4edf with SMTP id 5b1f17b1804b1-4954a3ebc81mr70524295e9.1.1784502328701; Sun, 19 Jul 2026 16:05:28 -0700 (PDT) Received: from skbuf ([86.127.127.104]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-47f63e49500sm25706213f8f.2.2026.07.19.16.05.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 19 Jul 2026 16:05:27 -0700 (PDT) Date: Mon, 20 Jul 2026 02:04:55 +0300 From: Vladimir Oltean To: Luke Howard Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Vivien Didelot , Gregory CLEMENT , Andrew Lunn , Richard Cochran , Cedric Jehasse , Kieran Tyrrell , Max Holtmann , Max Hunter , Christoph Mellauner , Simon Gapp , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next v2 2/2] net: dsa: mv88e6xxx: embedded PTP timestamp support Message-ID: <20260719230455.eaf7a4mlkx5l2uzd@skbuf> References: <20260710-mv88e6xxx-ptp-fixes-v2-0-af97c38df247@padl.com> <20260710-mv88e6xxx-ptp-fixes-v2-2-af97c38df247@padl.com> <20260719101241.xs4nz7r5bonb3qys@skbuf> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Sun, Jul 19, 2026 at 09:35:45PM +1000, Luke Howard wrote: > > > We try to keep the data path protocol between the switch and the host > > API compatible, and identifiable by /sys/class/net//dsa/tagging. > > I would argue that the protocol where PTP timestamps are in registers, > > vs where they are in PTP header reserved fields, vs where they are > > appended as trailers, are 3 different protocols and should not be > > presented as "edsa". > > For context: I added ArrTSMode support because even with the PTP > worker process priority bumped, ptp4l frequently missed RX timestamps. > > I can add these as non-default tagging variants that can be selected > by the user. "edsa-arrts-trailer" and "edsa-arrts-ptp-reserved”? I guess that would be fine, except: - worth clarifying that you're talking about the Reserved2 field (rather than Reserved1 or Reserved3) - any reason justifying the introduction of "edsa-arrts-trailed", or would it be just for completeness? As a user, what would make me decide between "edsa-arrts-trailer" and "edsa-arrts-ptp-reserved2"?