Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4134019pxj; Tue, 15 Jun 2021 16:26:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjbPOZuy9blMEInsFXEgkuOQVGGTRrz39hDFZFbr4eeHOiiLPoWnh7VvMzZVeyh0HQTXPB X-Received: by 2002:a05:6402:5256:: with SMTP id t22mr707289edd.54.1623799565166; Tue, 15 Jun 2021 16:26:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623799565; cv=none; d=google.com; s=arc-20160816; b=kHEjrYnwPeKmkFvY56F6bFV2Q09HQMlxYERrvCqdPRgnlxhYmqdZWvqA0niXGhdVwA jKd+1jyyM3/QGwUKF36frE1PPZFnsgbzd4xITE832JS2TKCgZ5Us7JUx4eejIRX4zq0I VTnYcudCejZR1Ys5V+8jla6BO9dA3pN0CRm5PsbbKricdU7ZQhMIVfwQf52HzobwMhhb C5mB8GyzLslTHmrBBS1g/kMWtwKf6wdjmYbz93mVqa8tdVe2WBpKXMQrCr/0LXyIwcuY KhUX/WKomtxydbGlNZ+xZh6ZSyT8JuIz6yblW9R+8P5cPFEWMJo3b5utFBwYfwmLRAwm rZ5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :dkim-signature; bh=HjOO2Dmo42mlJGOoHwQtbKYRUCAg4xIkjWwEosdAdu0=; b=lqnMVkvIHo0BXBYBOx74fBf/gL4XPAQbbS05mw5xsPS0r1gn7GzR8xdJAVQmcSN40i RrEWH6lOrupFXn4wVvVt63wtHzl7h9OYQJ64UXsf7cMmaGFJqLtH5yieWZFiejY4Qy9p nrwmCIdM7lNifuH3Hm269YDfYvSOeSUElv2DcPPInnGL6JO61GxR0ZjkVjBFOq4mOstU CqxPvymduE8wpJWvqGq6nN7a0IH+4R+XDBeNC0ES3jx4TIbrkQrwzROMjlKY6L6a7j/V 7vMigsPAJE8u9BL2tR+CZcasQmuPJspUy0ShNwcmk3z6NqkBH2Z3sSc8x/S8gqFHtW3b zTsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.cz header.s=susede2_rsa header.b=RLBDSVlf; dkim=neutral (no key) header.i=@suse.cz header.b="iFN/JuUE"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si241761edb.254.2021.06.15.16.25.42; Tue, 15 Jun 2021 16:26:05 -0700 (PDT) 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=@suse.cz header.s=susede2_rsa header.b=RLBDSVlf; dkim=neutral (no key) header.i=@suse.cz header.b="iFN/JuUE"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231403AbhFOX0v (ORCPT + 99 others); Tue, 15 Jun 2021 19:26:51 -0400 Received: from smtp-out1.suse.de ([195.135.220.28]:40168 "EHLO smtp-out1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229811AbhFOX0u (ORCPT ); Tue, 15 Jun 2021 19:26:50 -0400 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 6EEEA21A67; Tue, 15 Jun 2021 23:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1623799484; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HjOO2Dmo42mlJGOoHwQtbKYRUCAg4xIkjWwEosdAdu0=; b=RLBDSVlfP1f0KZ/YzyIL42L4a77lKFcdQEFvG6BYlPDUey7LQgOj92IK0aiUxi8KMCE1lo aj/ux2Aa4sBCNSa2mhGwciOVG5vu8Jqyx+oAT+2yoJiqFUiwXxK25/625KVtJ1i1MABjVZ nFnk6Z2UaY2f/DwLrIMoxyw+DvTJ5Rc= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1623799484; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=HjOO2Dmo42mlJGOoHwQtbKYRUCAg4xIkjWwEosdAdu0=; b=iFN/JuUES9mxE9eip7VFAzmnkN2rqZRAdCpAIwlpYD/lFmlic2qPjlWfQhF+L81n1Xauyo sZGmXvxvmiOXOFDQ== Received: from lion.mk-sys.cz (unknown [10.100.200.14]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id 1C375A3B8A; Tue, 15 Jun 2021 23:24:44 +0000 (UTC) Received: by lion.mk-sys.cz (Postfix, from userid 1000) id DBA15607D8; Wed, 16 Jun 2021 01:24:43 +0200 (CEST) Date: Wed, 16 Jun 2021 01:24:43 +0200 From: Michal Kubecek To: Yangbo Lu Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, mptcp@lists.linux.dev, Richard Cochran , "David S . Miller" , Jakub Kicinski , Mat Martineau , Matthieu Baerts , Shuah Khan , Florian Fainelli , Andrew Lunn , Rui Sousa , Sebastien Laveze Subject: Re: [net-next, v3, 05/10] ethtool: add a new command for getting PHC virtual clocks Message-ID: <20210615232443.itunrkhaiy7h5gty@lion.mk-sys.cz> References: <20210615094517.48752-1-yangbo.lu@nxp.com> <20210615094517.48752-6-yangbo.lu@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210615094517.48752-6-yangbo.lu@nxp.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jun 15, 2021 at 05:45:12PM +0800, Yangbo Lu wrote: > Add an interface for getting PHC (PTP Hardware Clock) > virtual clocks, which are based on PHC physical clock > providing hardware timestamp to network packets. > > Signed-off-by: Yangbo Lu > --- > Changes for v3: > - Added this patch. > --- > include/linux/ethtool.h | 2 + > include/uapi/linux/ethtool.h | 14 +++++ > include/uapi/linux/ethtool_netlink.h | 15 +++++ > net/ethtool/Makefile | 2 +- > net/ethtool/common.c | 23 ++++++++ > net/ethtool/common.h | 2 + > net/ethtool/ioctl.c | 27 +++++++++ > net/ethtool/netlink.c | 10 ++++ > net/ethtool/netlink.h | 2 + > net/ethtool/phc_vclocks.c | 86 ++++++++++++++++++++++++++++ > 10 files changed, 182 insertions(+), 1 deletion(-) > create mode 100644 net/ethtool/phc_vclocks.c When updating the ethtool netlink API, please update also its documentation in Documentation/networking/ethtool-netlink.rst Michal