]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7044b3fa73bac2ac0918a48e897e9ac48b4acf28
treed37ae776186a270a791bbad843123c10659e8589
parent4af2ba95b65f64e930e37b50c4a49da5ca480ab8
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