From gnn at freebsd.org  Wed Dec  2 18:25:29 2009
From: gnn at freebsd.org (George Neville-Neil)
Date: Wed, 2 Dec 2009 18:25:29 -0500
Subject: The linux driver that works with the latest ptpd?
In-Reply-To: <273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
References: <20090817174231.GA5500@tuxdriver.com>
	<1DB50624F8348F48840F2E2CF6040A9D5035DA4B@orsmsx508.amr.corp.intel.com>
	<20090817181005.GC5500@tuxdriver.com>
	<FBA78CC0-0B11-47E7-9FA1-B3BD6BB260D8@freebsd.org>
	<20090817183211.GE5500@tuxdriver.com>
	<1DB50624F8348F48840F2E2CF6040A9D5035DB1C@orsmsx508.amr.corp.intel.com>
	<20090817190651.GG5500@tuxdriver.com>
	<40D2259E-3DF6-4CA4-B189-7C4BABD571B5@freebsd.org>
	<20090817195410.GI5500@tuxdriver.com>
	<5351AD87-3E35-4A0E-9ED8-67D4D875CE65@freebsd.org>
	<20090819183215.GF5905@tuxdriver.com>
	<A1D1A3C7-2791-4C5E-AD32-25730A8B84FC@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
Message-ID: <7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>

Howdy,

I was wondering where I could find that driver that works with that version of PTPd?

I don't see it in the repo on infradead, but maybe I'm missing something.

Thanks,
George



From john.ronciak at intel.com  Mon Dec 14 19:32:20 2009
From: john.ronciak at intel.com (Ronciak, John)
Date: Mon, 14 Dec 2009 17:32:20 -0700
Subject: The linux driver that works with the latest ptpd?
In-Reply-To: <7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>
References: <20090817174231.GA5500@tuxdriver.com>
	<1DB50624F8348F48840F2E2CF6040A9D5035DA4B@orsmsx508.amr.corp.intel.com>
	<20090817181005.GC5500@tuxdriver.com>
	<FBA78CC0-0B11-47E7-9FA1-B3BD6BB260D8@freebsd.org>
	<20090817183211.GE5500@tuxdriver.com>
	<1DB50624F8348F48840F2E2CF6040A9D5035DB1C@orsmsx508.amr.corp.intel.com>
	<20090817190651.GG5500@tuxdriver.com>
	<40D2259E-3DF6-4CA4-B189-7C4BABD571B5@freebsd.org>
	<20090817195410.GI5500@tuxdriver.com>
	<5351AD87-3E35-4A0E-9ED8-67D4D875CE65@freebsd.org>
	<20090819183215.GF5905@tuxdriver.com>
	<A1D1A3C7-2791-4C5E-AD32-25730A8B84FC@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
	<7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>
Message-ID: <273D38FBE7C6FE46A1689FCD014A0B8B6824C481@azsmsx505.amr.corp.intel.com>

Which one are looking for?  The one going forward with the Linux kernel is located on the infradread site.  The one what worked with the IOCTL's is located on our Sourceforge site at: http://e1000.sf.net

Cheers,
John
-----------------------------------------------------------
"...that your people will judge you on what you can build, not what you destroy.", B. Obama, 2009 

 

>-----Original Message-----
>From: George Neville-Neil [mailto:gnn at freebsd.org] 
>Sent: Wednesday, December 02, 2009 3:25 PM
>To: Ronciak, John
>Cc: John W. Linville; ptpd at lists.infradead.org
>Subject: The linux driver that works with the latest ptpd?
>
>Howdy,
>
>I was wondering where I could find that driver that works with 
>that version of PTPd?
>
>I don't see it in the repo on infradead, but maybe I'm missing 
>something.
>
>Thanks,
>George
>
>

From gnn at freebsd.org  Tue Dec 15 11:37:23 2009
From: gnn at freebsd.org (George Neville-Neil)
Date: Tue, 15 Dec 2009 11:37:23 -0500
Subject: The linux driver that works with the latest ptpd?
In-Reply-To: <273D38FBE7C6FE46A1689FCD014A0B8B6824C481@azsmsx505.amr.corp.intel.com>
References: <20090817174231.GA5500@tuxdriver.com>
	<1DB50624F8348F48840F2E2CF6040A9D5035DA4B@orsmsx508.amr.corp.intel.com>
	<20090817181005.GC5500@tuxdriver.com>
	<FBA78CC0-0B11-47E7-9FA1-B3BD6BB260D8@freebsd.org>
	<20090817183211.GE5500@tuxdriver.com>
	<1DB50624F8348F48840F2E2CF6040A9D5035DB1C@orsmsx508.amr.corp.intel.com>
	<20090817190651.GG5500@tuxdriver.com>
	<40D2259E-3DF6-4CA4-B189-7C4BABD571B5@freebsd.org>
	<20090817195410.GI5500@tuxdriver.com>
	<5351AD87-3E35-4A0E-9ED8-67D4D875CE65@freebsd.org>
	<20090819183215.GF5905@tuxdriver.com>
	<A1D1A3C7-2791-4C5E-AD32-25730A8B84FC@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
	<7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B6824C481@azsmsx505.amr.corp.intel.com>
Message-ID: <DEE8D2D4-2733-4765-A034-356055D8181D@freebsd.org>


On Dec 14, 2009, at 19:32 , Ronciak, John wrote:

> Which one are looking for?  The one going forward with the Linux kernel is located on the infradread site.  The one what worked with the IOCTL's is located on our Sourceforge site at: http://e1000.sf.net

I believe that the code in:

ptp-igb-0.0.1/igb-ptp-1.2.44.9/src/igb_main.c

is the code that is compatible with the PTP Daemon on infradread site?  I cannot find a copy of the driver on the
infradread site itself though.  Is it there as well?

Thanks,
George




From john.ronciak at intel.com  Tue Dec 15 11:53:39 2009
From: john.ronciak at intel.com (Ronciak, John)
Date: Tue, 15 Dec 2009 09:53:39 -0700
Subject: The linux driver that works with the latest ptpd?
In-Reply-To: <DEE8D2D4-2733-4765-A034-356055D8181D@freebsd.org>
References: <20090817174231.GA5500@tuxdriver.com>
	<1DB50624F8348F48840F2E2CF6040A9D5035DA4B@orsmsx508.amr.corp.intel.com>
	<20090817181005.GC5500@tuxdriver.com>
	<FBA78CC0-0B11-47E7-9FA1-B3BD6BB260D8@freebsd.org>
	<20090817183211.GE5500@tuxdriver.com>
	<1DB50624F8348F48840F2E2CF6040A9D5035DB1C@orsmsx508.amr.corp.intel.com>
	<20090817190651.GG5500@tuxdriver.com>
	<40D2259E-3DF6-4CA4-B189-7C4BABD571B5@freebsd.org>
	<20090817195410.GI5500@tuxdriver.com>
	<5351AD87-3E35-4A0E-9ED8-67D4D875CE65@freebsd.org>
	<20090819183215.GF5905@tuxdriver.com>
	<A1D1A3C7-2791-4C5E-AD32-25730A8B84FC@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
	<7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B6824C481@azsmsx505.amr.corp.intel.com>
	<DEE8D2D4-2733-4765-A034-356055D8181D@freebsd.org>
Message-ID: <273D38FBE7C6FE46A1689FCD014A0B8B73D3F996@azsmsx505.amr.corp.intel.com>

That is not correct.  The proof of concept ptpd code on the SF site is for use with the IOCTL interface only.  The igb driver that is combined with that ptpd code in the same tarball is only for use with that proof of concept code.

The infradread site has the latest code on it.  At the top of the page there is a "tree" link.  Follow it as it has all the code you need regarding the ptpd code that we will be moving forward with.

Cheers,
John
-----------------------------------------------------------
"...that your people will judge you on what you can build, not what you destroy.", B. Obama, 2009 

 

>-----Original Message-----
>From: ptpd-bounces at lists.infradead.org 
>[mailto:ptpd-bounces at lists.infradead.org] On Behalf Of George 
>Neville-Neil
>Sent: Tuesday, December 15, 2009 8:37 AM
>To: Ronciak, John
>Cc: ptpd at lists.infradead.org
>Subject: Re: The linux driver that works with the latest ptpd?
>
>
>On Dec 14, 2009, at 19:32 , Ronciak, John wrote:
>
>> Which one are looking for?  The one going forward with the 
>Linux kernel is located on the infradread site.  The one what 
>worked with the IOCTL's is located on our Sourceforge site at: 
>http://e1000.sf.net
>
>I believe that the code in:
>
>ptp-igb-0.0.1/igb-ptp-1.2.44.9/src/igb_main.c
>
>is the code that is compatible with the PTP Daemon on 
>infradread site?  I cannot find a copy of the driver on the
>infradread site itself though.  Is it there as well?
>
>Thanks,
>George
>
>
>
>_______________________________________________
>Ptpd mailing list
>Ptpd at lists.infradead.org
>http://lists.infradead.org/mailman/listinfo/ptpd
>

From linville at tuxdriver.com  Tue Dec 15 11:57:45 2009
From: linville at tuxdriver.com (John W. Linville)
Date: Tue, 15 Dec 2009 11:57:45 -0500
Subject: The linux driver that works with the latest ptpd?
In-Reply-To: <DEE8D2D4-2733-4765-A034-356055D8181D@freebsd.org>
References: <20090817190651.GG5500@tuxdriver.com>
	<40D2259E-3DF6-4CA4-B189-7C4BABD571B5@freebsd.org>
	<20090817195410.GI5500@tuxdriver.com>
	<5351AD87-3E35-4A0E-9ED8-67D4D875CE65@freebsd.org>
	<20090819183215.GF5905@tuxdriver.com>
	<A1D1A3C7-2791-4C5E-AD32-25730A8B84FC@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
	<7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B6824C481@azsmsx505.amr.corp.intel.com>
	<DEE8D2D4-2733-4765-A034-356055D8181D@freebsd.org>
Message-ID: <20091215165745.GB8735@tuxdriver.com>

On Tue, Dec 15, 2009 at 11:37:23AM -0500, George Neville-Neil wrote:
> 
> On Dec 14, 2009, at 19:32 , Ronciak, John wrote:
> 
> > Which one are looking for?  The one going forward with the Linux kernel is located on the infradread site.  The one what worked with the IOCTL's is located on our Sourceforge site at: http://e1000.sf.net
> 
> I believe that the code in:
> 
> ptp-igb-0.0.1/igb-ptp-1.2.44.9/src/igb_main.c
> 
> is the code that is compatible with the PTP Daemon on infradread site?  I cannot find a copy of the driver on the
> infradread site itself though.  Is it there as well?

Probably not -- at least I don't recall putting one there. :-)  I
probably should have a place to hold tarball snapshots as well for
packaging purposes.

John, are your changes actually merged into the kernel driver?
I thought they were, but I don't know which release.  If not, is
there a patch (or maybe a tarball) somewhere?

John
-- 
John W. Linville		Someday the world will need a hero, and you
linville at tuxdriver.com			might be all we have.  Be ready.


From john.ronciak at intel.com  Tue Dec 15 17:37:56 2009
From: john.ronciak at intel.com (Ronciak, John)
Date: Tue, 15 Dec 2009 15:37:56 -0700
Subject: The linux driver that works with the latest ptpd?
In-Reply-To: <20091215165745.GB8735@tuxdriver.com>
References: <20090817190651.GG5500@tuxdriver.com>
	<40D2259E-3DF6-4CA4-B189-7C4BABD571B5@freebsd.org>
	<20090817195410.GI5500@tuxdriver.com>
	<5351AD87-3E35-4A0E-9ED8-67D4D875CE65@freebsd.org>
	<20090819183215.GF5905@tuxdriver.com>
	<A1D1A3C7-2791-4C5E-AD32-25730A8B84FC@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
	<7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B6824C481@azsmsx505.amr.corp.intel.com>
	<DEE8D2D4-2733-4765-A034-356055D8181D@freebsd.org>
	<20091215165745.GB8735@tuxdriver.com>
Message-ID: <273D38FBE7C6FE46A1689FCD014A0B8B73D3FDE3@azsmsx505.amr.corp.intel.com>

The current upstream igb driver does support 1588 with Kawela (82576) and will shortly support it for Barton Hills (82580) once those patches are accepted upstream.  Some already are in the 2.6.33 kernel.

Cheers,
John
-----------------------------------------------------------
"...that your people will judge you on what you can build, not what you destroy.", B. Obama, 2009 

 

>-----Original Message-----
>From: John W. Linville [mailto:linville at tuxdriver.com] 
>Sent: Tuesday, December 15, 2009 8:58 AM
>To: George Neville-Neil
>Cc: Ronciak, John; ptpd at lists.infradead.org
>Subject: Re: The linux driver that works with the latest ptpd?
>
>On Tue, Dec 15, 2009 at 11:37:23AM -0500, George Neville-Neil wrote:
>> 
>> On Dec 14, 2009, at 19:32 , Ronciak, John wrote:
>> 
>> > Which one are looking for?  The one going forward with the 
>Linux kernel is located on the infradread site.  The one what 
>worked with the IOCTL's is located on our Sourceforge site at: 
>http://e1000.sf.net
>> 
>> I believe that the code in:
>> 
>> ptp-igb-0.0.1/igb-ptp-1.2.44.9/src/igb_main.c
>> 
>> is the code that is compatible with the PTP Daemon on 
>infradread site?  I cannot find a copy of the driver on the
>> infradread site itself though.  Is it there as well?
>
>Probably not -- at least I don't recall putting one there. :-)  I
>probably should have a place to hold tarball snapshots as well for
>packaging purposes.
>
>John, are your changes actually merged into the kernel driver?
>I thought they were, but I don't know which release.  If not, is
>there a patch (or maybe a tarball) somewhere?
>
>John
>-- 
>John W. Linville		Someday the world will need a 
>hero, and you
>linville at tuxdriver.com			might be all we have.  Be ready.
>

From gnn at freebsd.org  Wed Dec 16 14:14:30 2009
From: gnn at freebsd.org (George Neville-Neil)
Date: Wed, 16 Dec 2009 14:14:30 -0500
Subject: The linux driver that works with the latest ptpd?
In-Reply-To: <20091215165745.GB8735@tuxdriver.com>
References: <20090817190651.GG5500@tuxdriver.com>
	<40D2259E-3DF6-4CA4-B189-7C4BABD571B5@freebsd.org>
	<20090817195410.GI5500@tuxdriver.com>
	<5351AD87-3E35-4A0E-9ED8-67D4D875CE65@freebsd.org>
	<20090819183215.GF5905@tuxdriver.com>
	<A1D1A3C7-2791-4C5E-AD32-25730A8B84FC@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
	<7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B6824C481@azsmsx505.amr.corp.intel.com>
	<DEE8D2D4-2733-4765-A034-356055D8181D@freebsd.org>
	<20091215165745.GB8735@tuxdriver.com>
Message-ID: <3776A17E-7BE8-4E0B-B9CD-868BF0AC1E19@freebsd.org>

Hi,

Another quick question.  Is there any reason the driver does not use the TIMADJL/H registers to
adjust the time as the 82576 manual suggests?

Thanks,
George



From john.ronciak at intel.com  Wed Dec 16 16:59:46 2009
From: john.ronciak at intel.com (Ronciak, John)
Date: Wed, 16 Dec 2009 14:59:46 -0700
Subject: The linux driver that works with the latest ptpd?
In-Reply-To: <3776A17E-7BE8-4E0B-B9CD-868BF0AC1E19@freebsd.org>
References: <20090817190651.GG5500@tuxdriver.com>
	<40D2259E-3DF6-4CA4-B189-7C4BABD571B5@freebsd.org>
	<20090817195410.GI5500@tuxdriver.com>
	<5351AD87-3E35-4A0E-9ED8-67D4D875CE65@freebsd.org>
	<20090819183215.GF5905@tuxdriver.com>
	<A1D1A3C7-2791-4C5E-AD32-25730A8B84FC@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B59B62D87@azsmsx505.amr.corp.intel.com>
	<7AFCC46E-DA8F-4BFF-A731-A747DF75FB90@freebsd.org>
	<273D38FBE7C6FE46A1689FCD014A0B8B6824C481@azsmsx505.amr.corp.intel.com>
	<DEE8D2D4-2733-4765-A034-356055D8181D@freebsd.org>
	<20091215165745.GB8735@tuxdriver.com>
	<3776A17E-7BE8-4E0B-B9CD-868BF0AC1E19@freebsd.org>
Message-ID: <273D38FBE7C6FE46A1689FCD014A0B8B7635841D@azsmsx505.amr.corp.intel.com>

They could be used, they just haven't been.  The adjustment of the time was left up to the daemon to deal with as it's the entity that is calculating the time, skew, etc.  So it doesn't really make sense for the driver to be doing that work.

Cheers,
John
-----------------------------------------------------------
"...that your people will judge you on what you can build, not what you destroy.", B. Obama, 2009 

 

>-----Original Message-----
>From: George Neville-Neil [mailto:gnn at freebsd.org] 
>Sent: Wednesday, December 16, 2009 11:15 AM
>To: John W. Linville
>Cc: Ronciak, John; ptpd at lists.infradead.org
>Subject: Re: The linux driver that works with the latest ptpd?
>
>Hi,
>
>Another quick question.  Is there any reason the driver does 
>not use the TIMADJL/H registers to
>adjust the time as the 82576 manual suggests?
>
>Thanks,
>George
>
>

