Received: by 10.192.165.148 with SMTP id m20csp1457633imm; Wed, 25 Apr 2018 19:34:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/aMhHGpID8g10274S2qRbXatNtE2NIxzA6CBa7l0kBuvm1/GH9YjrvfIpq3hsDFwTp0aFa X-Received: by 2002:a17:902:6a8b:: with SMTP id n11-v6mr31160673plk.36.1524710078611; Wed, 25 Apr 2018 19:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524710078; cv=none; d=google.com; s=arc-20160816; b=nS2FMeUnxQfS0JnzczcKVsmqw9za6nL1xOAg9Ct2Rb8+bEYWeGpOLilyistsyd5OJY 2jhuxwABBzpxof1z700wAESw95efzd44tIs72vIcsomqnpfJe5Bz+JkOQ3+5zLoeCW65 P8yNgCDmI5EPipVYxiaaRohMwOzR9hqn7xvSEeMTpqMW7DJbIWL+0TPKTLNi22KhJVqs VsSUYf48O+6BtXABNDb7jgskDNpW80NITe8BbAGuKiGaoqzOdY0V1RnT3QGx0a+QOoQo Dzfcet6declZEzF1HLu45/TQO1MknxF3EGFBEnIbTEhqQn0wJWP+4rxRtwqJKzqnaU+8 MDeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=+elfc7KGjtmmFDvoeYB8HYKPNeomqkBP21zQmw3pSaY=; b=bMuKmx6XxNm8bcigPJB+8CEim9EZujdNHjwXRi1SgiAczlr396kuZBDYFrvC5muF5r i+OiO08ZWrezJ/zqbgSPNDEpVuglTfv6CnsVHlTg565ni54CKHOk2erDt55RSbSWWxFX 6XBWz4LJBJT9PAbE36IwSQxd55hi9L9i4JcHBw0UEPG+Lbww8iyPttLOC9hNbUy8sLxZ RI/AlLlCJZZqdNZc5bqdF/ZDHlwAlWzZ0W9SdgFxkk+on4z7i7FBJL/WykKdJBafXkdn 7OI6TmO5dUP/6jP7kZ5jqHlrjetLYu5f2ekVZ6XmtdxXzQtkvSLAnxuzpvMir3k62n96 jDKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=omu0EBZE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id z18si14523565pgc.99.2018.04.25.19.34.23; Wed, 25 Apr 2018 19:34:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=omu0EBZE; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1751730AbeDZCdM (ORCPT + 99 others); Wed, 25 Apr 2018 22:33:12 -0400 Received: from mail-pf0-f170.google.com ([209.85.192.170]:47036 "EHLO mail-pf0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751528AbeDZCdL (ORCPT ); Wed, 25 Apr 2018 22:33:11 -0400 Received: by mail-pf0-f170.google.com with SMTP id p12so931392pff.13 for ; Wed, 25 Apr 2018 19:33:11 -0700 (PDT) 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=+elfc7KGjtmmFDvoeYB8HYKPNeomqkBP21zQmw3pSaY=; b=omu0EBZEd3jbcvRGXm7B0sqfaUHgtFtNFprkqbE64WK+LyiGf5dkL9UOMLIWlGr8pj t+K0ToPYaHch4dZpHoq0l0waN4V5yhTpXLGC0X45sNccLg0E86is98xN9CXfbmdK//Pe 9t5uzTzCok/+PdTzit6kuigc81hj3lEZe51ZaU5vBXtUjPf4+bwz0JwzMlitcFjBn2ST /UPA9LhmuTS3BYbIccFZVMzv8sdR63ImB+bKzZIUcJ15dxoc7xYOHsxfozQ0ZPPIF5cg DUdmHN995AQn7+5Owp2KGlOURX7/5DJ4krSsyuML787gucE6zhC6Vx01V36ia9I+tQ1j 1iDw== 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=+elfc7KGjtmmFDvoeYB8HYKPNeomqkBP21zQmw3pSaY=; b=ofTYiGZO3gwUjtjcuXp7AOLoarmUgXvQXFdzaHuWKRS2UOb+nU6BGTYu2t2raqTqZv zl6qzeK0f6RPmBAdgJ87WCsks53aEPVDU9nbIWcwroEtnqh+LjnGbd/LoxYXIAnlT/+j 7qk5ujq3Bifw65zPaiICOTKlL2jy5RAvCH3atSrgEYBEzLTtYRnlm8634oqL9pdvau/V 7nRgtJsgyi+2f1F7BwyIfO/sHcAlwnXw7oZYlYwrvJBvP1+X4h3uF73/UKxeBGTcIS9Q /momolTX9d4ZbJ9mVerC9eIrhV1k7g+jgpfiFRWIoeFFv/qx8aWAPUSZHWCgtLg3Jv+W g5bQ== X-Gm-Message-State: ALQs6tA8sPKpSBxbg37qKqPPHvbgLCrWyYh4zS2GD78bxk7IGq+VPNXp e3QmKkQ9fK4+DgtrGIlj6Gs= X-Received: by 10.99.131.72 with SMTP id h69mr25135914pge.378.1524709991115; Wed, 25 Apr 2018 19:33:11 -0700 (PDT) Received: from localhost (c-24-4-232-46.hsd1.ca.comcast.net. [24.4.232.46]) by smtp.gmail.com with ESMTPSA id b29sm401867pfh.155.2018.04.25.19.33.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 25 Apr 2018 19:33:10 -0700 (PDT) Date: Wed, 25 Apr 2018 19:33:08 -0700 From: Richard Cochran To: Yangbo Lu Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Greg Kroah-Hartman , dan.carpenter@oracle.com, Ioana Radulescu Subject: Re: [PATCH] staging: fsl-dpaa2/eth: Add support for hardware timestamping Message-ID: <20180426023308.aezdge7xlbqoe5at@localhost> References: <20180425091749.46841-1-yangbo.lu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180425091749.46841-1-yangbo.lu@nxp.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 25, 2018 at 05:17:49PM +0800, Yangbo Lu wrote: > +/* PTP nominal frequency 1GHz */ > +#define DPAA2_PTP_NOMINAL_FREQ_PERIOD_NS 1 Nit: Frequency is the inverse of the period. It can be one or the other, not both. Why not call it simply DPAA2_PTP_CLK_PERIOD_NS? You haven't implemented the ethtool_get_ts_info() method, but you need to do so. Show us how the user can related these MAC time stamps to the PHC device in your other patch series. Thanks, Richard