From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: Re: ptp Date: Wed, 7 Sep 2016 23:12:23 +0200 Message-ID: <20160907211223.GA31741@localhost.localdomain> References: <20160907204818.GA7470@localhost.localdomain> <85389e04-76ad-9a19-2a33-d49a9bdd8452@cisco.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: "netdev@vger.kernel.org" , "xe-kernel@external.cisco.com" , "Shabeena Shabeena -X (sshabeen - ARICENT TECHNOLOGIES MAURIITIUS LIMITED at Cisco)" To: Daniel Walker Return-path: Received: from mail-wm0-f51.google.com ([74.125.82.51]:38083 "EHLO mail-wm0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752030AbcIGVM3 (ORCPT ); Wed, 7 Sep 2016 17:12:29 -0400 Received: by mail-wm0-f51.google.com with SMTP id 1so54757892wmz.1 for ; Wed, 07 Sep 2016 14:12:28 -0700 (PDT) Content-Disposition: inline In-Reply-To: <85389e04-76ad-9a19-2a33-d49a9bdd8452@cisco.com> Sender: netdev-owner@vger.kernel.org List-ID: On Wed, Sep 07, 2016 at 01:55:19PM -0700, Daniel Walker wrote: > So the code only allows second granularity negative updates, No. > or the seconds > component is the only part which needs to actually be negative ? Yes. See the function, clockadj_step, in linuxptp/clockadj.c for a working user space example. Thanks, Richard