Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp2969075pxb; Tue, 12 Jan 2021 03:10:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJx5LquF6PzULsMkajzgmy9vFnIN036gY7UULyqhjfLa9Z5vDHPG/KQpOfqpcmZ03E3oppar X-Received: by 2002:a50:d757:: with SMTP id i23mr2998544edj.116.1610449815925; Tue, 12 Jan 2021 03:10:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610449815; cv=none; d=google.com; s=arc-20160816; b=nlUAN6pwu2MRu1sOt3DExNKOVf8HjPTS5WxIufyPC/GWd8lNiCNIt7q0w8sTmY+SHC ZVYcVgytF47/QEiCgWEVGuGvBziLXO0zqFwEJNO9EbOaq01WDQiMks390SQbHPF21vVf bCNuWasxRLq2sLHQfc6VnEfMg8bzwhbCZoJaZ6mTjPkfOtJf2Px1H+AacW0aMjYIDR/t OWEuEKo9bRQ1YGeB7MggeIezdNR7kY+nmmTua10E5B4z7LU1ZtVh1dpsChsFdjEPMTuj lNMNBHOrTqS9IIplrztCKDuniLlN22ARxxaKmxLTBqCNTVY4Vh6zqOz07aBodZImUsRL Ritw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=HKwXEUt2KV6yKFtidI9ws3+xlcJfaSAZDwRiqf3lrro=; b=0+p7B/xYGdMLqZ6K1o+M/PLn7N13NigtZwEnjIONDb/OsZNVtYjcfnxDEMb/LcEO21 9lwhirZxIV8M+W7mxSvVUt/Pf2obszz7OcdM4B9Zgrn5EKtU83AcVgmQ1X6FD9covNXN Fo/XW6zPDZJJfpIot0x0MfELdAAJ41reAbGi26XwihNvKiD8jNLrPAGe8dJkXtaD9dhw CqYWrac+nN4WXCmAiQs4oEaVc935TOQUdZSRFnKx0vrPTXR9p9sE3BTXaOa6FPXjMOp7 6F1zqLJj8NpfbMXwykgaVwKsx7ffJh18jolZbiZSv/Gu5+cyd8DKYz0zwLFRr0JOC2SU P76w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hYKPwKhE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id be26si1136072edb.68.2021.01.12.03.09.52; Tue, 12 Jan 2021 03:10:15 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=hYKPwKhE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728799AbhALCPF (ORCPT + 99 others); Mon, 11 Jan 2021 21:15:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727426AbhALCPE (ORCPT ); Mon, 11 Jan 2021 21:15:04 -0500 Received: from mail-pg1-x52a.google.com (mail-pg1-x52a.google.com [IPv6:2607:f8b0:4864:20::52a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6BDE7C061575; Mon, 11 Jan 2021 18:14:24 -0800 (PST) Received: by mail-pg1-x52a.google.com with SMTP id v19so392862pgj.12; Mon, 11 Jan 2021 18:14:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=HKwXEUt2KV6yKFtidI9ws3+xlcJfaSAZDwRiqf3lrro=; b=hYKPwKhE2oU3iWkqGCpi/yuf+O+T231tjBRvlO+6Xuu+HiZZQG9uWqHKQ9HHbqY1A2 eRVIfiz8M/v9v7O5bbkyxPZoXS2fgBWJ+TGb3j4CZwAaB/qDjDR/fPKl2Cb7GbMMF3Mg UbW7/Wpy3gAOpMn3Th39IycQtbDbx3OkfVF0e9iS4B7oMhteQDfQfFPJLjMAklqxS/G8 2bTDftSWBMaKyPUGu4tSigE6dCpa4hch6hTYrjTPssQuYz4CgkBjEeetRkAoo1akqVfx KTwg+kupB2acjFapYmLz0tXVDvKIR7HIJ30yRvuu+kKgijJ2iQGPYnWb3rPvQuAtuO1l fb0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=HKwXEUt2KV6yKFtidI9ws3+xlcJfaSAZDwRiqf3lrro=; b=UsPk3k6N5ZwnyZZ1r8YQ401zATF4lSHEmnrvXv77MH3D5aZdjnVpjB+sde8xFXcyyn GobG6sngSX5GFWvaTvfCFGaDC03y1XPH5DzDucrZs+mvCXs9OYi/Y3p4QPymGSEXaYOZ b4qsvXY87/dui5Xk35t7apEb4d3UNfMJLJLAoG1WIhYxlFvnyx2diHMurWCYx6y0lB5a Prak/tCHApg7aBs86B8huJoCQRJckPR8PBQuZCX3L5Zw8jDcO2aCy7UsPurwBdkR5dEj 2cSK8csVFKEWocCZuR271RpzGyKozrHlKfIxJ7T9YZ+KuFETQY1HM+CnGoYq0TTcV23K 9FSA== X-Gm-Message-State: AOAM530oRW1cQyRnPxPgwChYPZz2MoOAAKM6uwEzAg9yZGazYuRpFGeq VfKWAfWU3cs1sUUM0+fZmKY= X-Received: by 2002:a62:1ad3:0:b029:19d:cc02:5d07 with SMTP id a202-20020a621ad30000b029019dcc025d07mr2302990pfa.70.1610417663981; Mon, 11 Jan 2021 18:14:23 -0800 (PST) Received: from hoboy.vegasvil.org (c-73-241-114-122.hsd1.ca.comcast.net. [73.241.114.122]) by smtp.gmail.com with ESMTPSA id i25sm1092775pgb.33.2021.01.11.18.14.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Jan 2021 18:14:22 -0800 (PST) Date: Mon, 11 Jan 2021 18:14:20 -0800 From: Richard Cochran To: Vincent MAILHOL Cc: Marc Kleine-Budde , linux-can , Jeroen Hofstee , Wolfgang Grandegger , "David S. Miller" , Jakub Kicinski , "open list:NETWORKING DRIVERS" , open list Subject: Re: [PATCH v3 1/1] can: dev: add software tx timestamps Message-ID: <20210112021420.GA18703@hoboy.vegasvil.org> References: <20210110124903.109773-1-mailhol.vincent@wanadoo.fr> <20210110124903.109773-2-mailhol.vincent@wanadoo.fr> <20210111171152.GB11715@hoboy.vegasvil.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2021 at 09:00:33AM +0900, Vincent MAILHOL wrote: > Out of curiosity, which programs do you use? I guess wireshark > but please let me know if you use any other programs (I just use > to write a small C program to do the stuff). I was thinking of PTP over DeviceNET (which, in turn, is over CAN). This is specified in Annex G of IEEE 1588. The linuxptp stack has modular design and could one day support DeviceNET. It would be much easier for linuxptp if CAN interfaces support hardware time stamping in the same way as other network interfaces. Thanks, Richard