From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756322AbaLWVnB (ORCPT ); Tue, 23 Dec 2014 16:43:01 -0500 Received: from mail-wi0-f177.google.com ([209.85.212.177]:60399 "EHLO mail-wi0-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751078AbaLWVm7 (ORCPT ); Tue, 23 Dec 2014 16:42:59 -0500 Date: Tue, 23 Dec 2014 22:42:53 +0100 From: Richard Cochran To: Jeff Kirsher 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 Subject: Re: [PATCH net-next 08/11] net: ixgbe: convert to timecounter adjtime. 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 Content-Disposition: inline In-Reply-To: <1419368839.2470.32.camel@jtkirshe-mobl> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@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