]> 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)
commit05c7d2d0aefd73822599e39d9d25c938b022debd
treed24a7fe0875c11b5180362dfc3d4442ce0af42bf
parentb586953930859e0091549bf713fc6ec5b10d5e1a
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