]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Prevent dropped Tx timestamps via work items and interrupts.
authorMatthew Vick <matthew.vick@intel.com>
Sat, 18 Aug 2012 07:26:33 +0000 (07:26 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 17 Sep 2012 09:04:24 +0000 (02:04 -0700)
commit56d571136d7e5dffa11ec948187a2a868eb6bf8e
treee7a363f6216bc4456ae57d4cd1895bcf5f958ce8
parenta887113d8003a458a15f5dc0c1217a5724be077a
igb: Prevent dropped Tx timestamps via work items and interrupts.

In rare circumstances, it's possible a descriptor writeback will occur
before a timestamped Tx packet will go out on the wire, leading to the
driver believing the hardware failed to timestamp the packet. Schedule a
work item for 82576 and use the available time sync interrupt registers
on 82580 and above to account for this.

Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Matthew Vick <matthew.vick@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_defines.h
drivers/net/ethernet/intel/igb/e1000_regs.h
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c
drivers/net/ethernet/intel/igb/igb_ptp.c