From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Cochran Subject: Re: [PATCH net-next 08/11] net: ixgbe: convert to timecounter adjtime. Date: Tue, 23 Dec 2014 22:42:53 +0100 Message-ID: <20141223214253.GA13937@localhost.localdomain> References: <5d83679d541974c164cfc415c0bb171e2b363f16.1418504889.git.richardcochran@gmail.com> <1419368839.2470.32.camel@jtkirshe-mobl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Amir Vadai , Ariel Elior , Carolyn Wyborny , David Miller , Frank Li , John Stultz , Matthew Vick , Miroslav Lichvar , Mugunthan V N , Or Gerlitz , Thomas Gleixner , Tom Lendacky To: Jeff Kirsher Return-path: Content-Disposition: inline In-Reply-To: <1419368839.2470.32.camel@jtkirshe-mobl> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Tue, Dec 23, 2014 at 01:07:19PM -0800, Jeff Kirsher wrote: > Just for sanity sake, I will have Phillip test the changes, but there is > no need to hold this up from being committed in the mean time. FYI, here is a test that may show the improved behavior when comparing before/after. 1. Start ptp4l, let it run long enough to find the frequency offset. 2. Stop ptp4l with ^C. 3. Wait a bit, to let the clock drift away. 4. Restart ptp4l, it will now start with the frequency offset learned in step 1. 5. Notice the the offsets in states s0 -> s1 -> s2. There will likely be less offset error with the patches applied. Thanks, Richard