igb: Split Rx timestamping into two separate functions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 25 Sep 2012 05:14:55 +0000 (05:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Oct 2012 11:25:10 +0000 (04:25 -0700)
commitb534550a17cda69a1d62acc18fff33370b5eee5b
treed37ae776186a270a791bbad843123c10659e8589
parentea5ceeabf5621ed36d24e6741b45cfd1e1fce11b
igb: Split Rx timestamping into two separate functions

In order to support page based receive we will need to split up the two
different types of timestamping into two separate functions.  The first one
will handle legacy timestamps with the value in the register, and the new
one will handle timestamps in the Rx buffer itself.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Acked-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_ptp.c