]> 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)
commit0d8da8be8a7b6e48f658425ac901155c8319690e
treed37ae776186a270a791bbad843123c10659e8589
parentbe381da489e357a29975f705b9e22659462d0a54
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