]> git.baikalelectronics.ru Git - kernel.git/commit
igb: Add update to last_rx_timestamp in Rx rings
authorMatthew Vick <matthew.vick@intel.com>
Wed, 24 Apr 2013 07:42:06 +0000 (07:42 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 May 2013 09:31:43 +0000 (02:31 -0700)
commitaa2b5fecfcd9872f431a0dad18d18771be899440
treed24a7fe0875c11b5180362dfc3d4442ce0af42bf
parent740259e93989dae02018eaa2d60b1cbb391228d1
igb: Add update to last_rx_timestamp in Rx rings

In order to support a more accurate check for a PTP Rx hang where the
device can no longer timestamp received packets, we need to update, per
ring, when the last Rx timestamp was. Because of how the PTP Rx hang logic
works, the current logic is valid, but properly updating the ring variable
increases the accuracy of the check.

Signed-off-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_main.c