netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] [RFC] igb: ptp hardware clock
@ 2011-12-13  3:00 Richard Cochran
  2011-12-13  3:00 ` [PATCH net-next 1/2] igb: add PTP Hardware Clock code Richard Cochran
  2011-12-13  3:00 ` [PATCH net-next 2/2] igb: offer a PTP Hardware Clock instead of the timecompare method Richard Cochran
  0 siblings, 2 replies; 13+ messages in thread
From: Richard Cochran @ 2011-12-13  3:00 UTC (permalink / raw)
  To: netdev
  Cc: e1000-devel, Jacob Keller, Jeff Kirsher, John Ronciak,
	John Stultz, Thomas Gleixner

This patch series implements a PHC driver for the Intel 82576 and
82580 devices, as part of the igb driver.

The first patch adds the PHC driver code as a new source module but
does not link it into the main igb driver. Because the system time
counter is not so very wide, the code implements an overflow counter
in software. Every read operation maintains the overflow counter, as
does a "delayed work" watchdog. Only the base clock operations are
implemented. The hardware does have some ancillary features, but these
can be easily added later.

The second patch removes the timecompare code and links in the new
functions.

I have tested the 82580 with good results. However, I don't have the
82576 and so would appreciate testing and feedback.

Thanks,
Richard


Richard Cochran (2):
  igb: add PTP Hardware Clock code
  igb: offer a PTP Hardware Clock instead of the timecompare method

 drivers/net/ethernet/intel/igb/Makefile   |    2 +-
 drivers/net/ethernet/intel/igb/igb.h      |   21 +-
 drivers/net/ethernet/intel/igb/igb_main.c |  167 +-----------
 drivers/net/ethernet/intel/igb/igb_ptp.c  |  450 +++++++++++++++++++++++++++++
 4 files changed, 469 insertions(+), 171 deletions(-)
 create mode 100644 drivers/net/ethernet/intel/igb/igb_ptp.c

-- 
1.7.2.5

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2011-12-25 15:32 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-13  3:00 [PATCH net-next 0/2] [RFC] igb: ptp hardware clock Richard Cochran
2011-12-13  3:00 ` [PATCH net-next 1/2] igb: add PTP Hardware Clock code Richard Cochran
2011-12-25 15:30   ` Richard Cochran
2011-12-13  3:00 ` [PATCH net-next 2/2] igb: offer a PTP Hardware Clock instead of the timecompare method Richard Cochran
2011-12-13  3:28   ` Eric Dumazet
2011-12-13  3:41     ` Richard Cochran
2011-12-13  3:52       ` Eric Dumazet
2011-12-13  4:40         ` Richard Cochran
2011-12-14 22:33   ` Jesse Brandeburg
2011-12-15 16:12     ` Richard Cochran
2011-12-15 16:46       ` Wyborny, Carolyn
2011-12-25 11:30         ` Richard Cochran
2011-12-25 15:32   ` Richard Cochran

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).