Received: by 2002:ab2:1149:0:b0:1f3:1f8c:d0c6 with SMTP id z9csp235869lqz; Fri, 29 Mar 2024 15:01:39 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDKvhbWtdJwRAk8WJyPsnOFORBGsVSV8ZeAlLo40MgUeIGNauoJC3V7XbT6b+11nQIqxeDVr+rvcOTPyIKQ27ELZY3DHrtrW1HvwVlow== X-Google-Smtp-Source: AGHT+IGSyMydf+tkcugE6rgEt46Db7+K6m7Ol8bwvqlwilg/tpALXADZ8rmaN8ZF8lY5TjlJQ3AT X-Received: by 2002:a05:6358:70cb:b0:17f:8815:ef23 with SMTP id h11-20020a05635870cb00b0017f8815ef23mr3372420rwh.10.1711749699465; Fri, 29 Mar 2024 15:01:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711749699; cv=pass; d=google.com; s=arc-20160816; b=behZG9qFmMaVpPV4+BLOY+ZpiNkH7FFvrdGqQpgvdASYWlnv99IOg/niJUsE4r08fc 1s4b9K+V8M+uDxf+C1pIsj1vCL2o+FPWhPVF2z0wSECFV1fZJEONbJpkAOYdOFDu/tVC ZPV1EuaFTLf6KTWKTkPywhU0SRDnzGLnXQuxD0aYXME8udGoSyKOs+k4RHTbBYaxTfk7 cpx0RTwF7ylZLkULGnnO/5JmqbkzOPqy1z6YD97u1A9EhToNYsoecQMIUiE5twUq8DpC SfOlvsRANFar1fbj8U5ZDimkj3i8ByVDAmwrXjOk41q/p8qupmaiiIcSD1L3zl8NQgGJ trlQ== 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=mP6VWH4z12umpFuUei/Aof+NkwyDHEsAGZg5c2aojE0=; fh=IXFs7UENlIXKcOQ5BkKS39gxlqomo/l1kXraFsdPt7I=; b=IrczSqlpAUXuiPlZZi/Wv29DzxjOBQaO1yktrXYFMR/9kgZIRHuSRDVTKdmG+R37yH h1H4PKE6BFhBVUK1gIb15kdB08A0u3AV8m49KWdwEfRPZEXaUK9Q+jIlzvsneHLxSd2r Ti3Fdu4yzrSQpsAdh2gal/E2Hd7u9CLKmJoyf0n2nC9nqtFDCZQqZyIymnabwCo6jbe6 gq1/spibcNXCiLNT1JGokQREOMxFxeyK/691nPibttCiDHe5+5aOzK5T0rYAvSdJQl8n Yac46f0Xpe6GO/+BhYlkIiDQh168piRliPNywwriZuWgo+57WLjdw0YU1U/+Ewnp52ae PHhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HCDVp1+6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125472-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125472-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id de38-20020a05620a372600b0078a517d4d3fsi5116866qkb.654.2024.03.29.15.01.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Mar 2024 15:01:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-125472-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HCDVp1+6; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-125472-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-125472-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 328731C20F71 for ; Fri, 29 Mar 2024 22:01:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32DBB13D518; Fri, 29 Mar 2024 22:01:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="HCDVp1+6" 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 4EFDD13CF9A; Fri, 29 Mar 2024 22:01:18 +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=1711749678; cv=none; b=TOauJdfJGKU0duUd8J4pHoHhAwsXcDn6HiMRRbIxMC8w4F8N/R6CuN8UW0dSXad7zTr71uirgCxvjz3p8yWCCy8Lua4blaGweObu3zF4POrf+k9u15OLletc265FFN5y6QWVgkTghnrO2lA7BPEgSHApf/YoTu1URgNAYZ6V86c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711749678; c=relaxed/simple; bh=nq/FsIJaEug5d9vw9MG+IgQd5liVDY8TkXYaFDuOCdo=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Y0voKxc3wu4aN9dqdlqCvCcRErWY477ia2U3s+zapOl4w1ETHJYUStVobjEYNexg0unHlP7Tb6mRFUmIC7L9k9Abt8vOwswUXlovEv/RYRNqCZh58Etm9FyIYE6rOXh15uvgsy9g+fHu21flV2ooGENu10WR0Qfm9Eo1N8RV3k8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=HCDVp1+6; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 53666C433C7; Fri, 29 Mar 2024 22:01:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711749677; bh=nq/FsIJaEug5d9vw9MG+IgQd5liVDY8TkXYaFDuOCdo=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=HCDVp1+6GYWN8GFmGWMO5xXfiuZa6bY/GlLwKiqaSa1TLzIxcYJihxRE0e5VLztHR 5zX4huDJPpeCfgrjlALPODEyY9ok6t6XZyC94u9P4uGbsdD+Vf7/goAP4qAxHkI24l Vp+Ec9ugCQi0u85nWx6u6+59B7MSXHvK7H7/fZ+H3lv3tvBPDnMR4RgmsEhvVyxon1 xplQn51eQjcegvhK7Sath6j4gOuf2pbrolfo17ILhabO8CfloJKPB+aXedyLdVRpG7 sAjIkjQeyiL63kut8QYGl9CThsDY1mDSdXu6r8nXPwWsINSIlXd0gVG41OCygsqiwZ FdtrYL4sDV2IA== Date: Fri, 29 Mar 2024 15:01:16 -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 1/3] net: ethernet: ti: am65-cpts: Enable PTP RX HW timestamp using CPTS FIFO Message-ID: <20240329150116.67da2b07@kernel.org> In-Reply-To: <20240327054234.1906957-1-c-vankar@ti.com> References: <20240327054234.1906957-1-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:32 +0530 Chintan Vankar wrote: > CPTS module supports capturing timestamp for every packet it receives, > add a new function named "am65_cpts_find_rx_ts()" to get the timestamp > of received packets from CPTS FIFO. > > Add another function named "am65_cpts_rx_timestamp()" which internally > calls "am65_cpts_find_rx_ts()" function and timestamps the received > PTP packets. Maybe i'm unusually tied today but reading this patch without reading the next one makes no sense. I mean, you say: CPTS module supports capturing timestamp for every packet it receives... How is that relevant here. When you post v5 please make sure to include a cover letter, explaining the overall goal and impact of the series. > + list_del_init(&event->list); > + list_add(&event->list, &cpts->pool); list_move() ? -- pw-bot: cr