Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp235351lqz; Fri, 29 Mar 2024 15:00:44 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWf9hDJA3F4vo2lw+CJMxntAlitPeJUF6Z3gbO2deRlBFmIujqXe8tO/Q3RAa3lzNcM/w2x8BjTNfjSIjbPX6F8MmQ5PRFlDF5pkE3tRA== X-Google-Smtp-Source: AGHT+IHqWK8hx+cKi/nrKsw5L1bSUeXxK+DmWQ/FnWURnZsi32bqREROEjllFrACvQLjGSMyh39U X-Received: by 2002:a05:6358:8424:b0:17e:9c8c:2c00 with SMTP id b36-20020a056358842400b0017e9c8c2c00mr4397821rwk.10.1711749643883; Fri, 29 Mar 2024 15:00:43 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711749643; cv=pass; d=google.com; s=arc-20160816; b=iUT4EA1V/8tFDd2zHyuyWytv3hUJSmvTVDKUhLWx9U3JD+7OGtKAgYRyHdtRI4Vuqh BiHTnweLZY4QJ6cgg93oSyt5VZmvAizTWVz9yu8LHtRrj/O/sQ5bzGIrUDKqfNA+HW/m 0aMq/au6VZVUl/w5kOI6KFddDfuOcIvao1a9TX2wS7KgibZ7/5FHziTAI92kUt9Fy1ff 5/ctvzWZF8Y9bRvqzfoqCJ5IYok41GmwkybXKSXS6OSHqE8ziV8tf4bcyD2L9iJtInvD iZ72aX62EoEqVkkibKZa0U3eSUpW6YS/zRHOs9plaWIFQ+UEFr0LpinqdlVEP7kfoHjf 7hGA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=9NJceUn3bR+/SFWEcn+7DCazzJ7XbN4byL3bzmGxgUo=; fh=IXFs7UENlIXKcOQ5BkKS39gxlqomo/l1kXraFsdPt7I=; b=hvFU67+X4tMdJtW33wclb4zWzwSdQPht+X4p4rdRmBgSh5729i6Qgc84XcQhXnAOim 6UnZlShE8OrO71j0Yu9XGgtJzsKwGXk0r5oxe0TrOSmwjS31IqXD1Guz7bhFrM54osNG LtQP7EQimi3UUhqvn0E13II33fBQe9+4SEcmfgo+2bb1QePbWmi3wmXwTwCnGsXjFfhk IpsK0ZAt6pR/yHdY4Awu6wfchutY6etA0HCE6MsXbIaCfFBq8PvvUeQvMGB4hzxyY+CI UkIxnFmfid59VnZ1uxUeVKzN4GAIEVVjToKXMKb4EV2FQF8BSCwV7PfnQWLqbfna4G/v cSGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PdOZwwPB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125470-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125470-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d26-20020a65621a000000b005dbec91be93si4220118pgv.595.2024.03.29.15.00.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 15:00:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125470-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=PdOZwwPB; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125470-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125470-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id C9B0EB218C9 for ; Fri, 29 Mar 2024 22:00:01 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1E67413D257; Fri, 29 Mar 2024 21:59:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="PdOZwwPB" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3CAF513AA38; Fri, 29 Mar 2024 21:59:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711749546; cv=none; b=pENnmQjVRahfScdLLETphQVIho7PJDX43gfdFJ/7Qwih3/hDrgLdT0Z9ihMncI6iS4BJk1qp4Z1zWuYrNnF8ynvepu5p1uuUYKR9jhP1FRROfilqci3dhA9ff0ITHsaXMm0y3VaE6fYTx5rWPVlvWt6ZEQ+e64oEqTcHcPL8Rkk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711749546; c=relaxed/simple; bh=9NJceUn3bR+/SFWEcn+7DCazzJ7XbN4byL3bzmGxgUo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=FaTiLGhakmrEp6vtDCTOpgunbbtgvLxraFtADPAsu3XLNSgig5ZNENzoPh+Z7dqVpjJcnhwWo0qeRbjNmzytnd/m024NwA/a+C1Gw7YC0WeVbU/G1cgkz8qTkCLxoTozmNgtyFwxqR0m0H9xjeidOxlGKBv2BiC5dvV7BLhOXHA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=PdOZwwPB; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B9F0C433F1; Fri, 29 Mar 2024 21:59:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711749546; bh=9NJceUn3bR+/SFWEcn+7DCazzJ7XbN4byL3bzmGxgUo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=PdOZwwPBQZkF3Fbxs7p8SnUH6Y/YPF6/Ef7JkVwtarfNDgmaSAULVdIm+4keF0fRc MkJuWeQ1Qxq6oaTdGWmf2wL/Bh4S7FnK/1bmQVbQhqIXA5b3SD34OnOIkoHDMFlTuM N8zi0XNBbxPBHeIK/mawmLFGFLr1EJvq0JwFlY6qz1b1/IFWba+SlhcFtXrH/orscA PXPQ6rXdKOZiqQrgcrfnKXq2P+AYDjMsiBNESyhKbAfbIw7pNuiGoKTeJOPE8fAhJ7 riyM6HNtjzT4boCWKJoRNHNRp24R0nTlLi7GQczMY4I1gJWfG1pQHWGtbyHN+FnDDS UBMz/LqRLMs/g== Date: Fri, 29 Mar 2024 14:59:04 -0700 From: Jakub Kicinski To: Chintan Vankar Cc: Dan Carpenter , Siddharth Vadapalli , Grygorii Strashko , "Heiner Kallweit" , Vladimir Oltean , Andrew Lunn , Roger Quadros , Richard Cochran , Paolo Abeni , Eric Dumazet , "David S. Miller" , , Subject: Re: [PATCH net-next v4 2/3] net: ethernet: ti: am65-cpsw: Enable RX HW timestamp only for PTP packets Message-ID: <20240329145904.0b7cb60f@kernel.org> In-Reply-To: <20240327054234.1906957-2-c-vankar@ti.com> References: <20240327054234.1906957-1-c-vankar@ti.com> <20240327054234.1906957-2-c-vankar@ti.com> 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=US-ASCII Content-Transfer-Encoding: 7bit On Wed, 27 Mar 2024 11:12:33 +0530 Chintan Vankar wrote: > To prevent port lock up, disable TSTAMP_EN bit in CPTS_CONTROL > register. The workaround for timestamping received packets is to > utilize the CPTS Event FIFO that records timestamps corresponding to > certain events, with one such event being the reception of an > Ethernet packet with the EtherType field set to Precision Time > Protocol (PTP). You mention EtherType here but the drive retains L4 support, which is somewhat confusing. Perhaps mention L4 / UDP ports here, too.