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)
commit20a48412281732ddb75e0ac7d9e0b5406f1b6669
treed24a7fe0875c11b5180362dfc3d4442ce0af42bf
parentcf7ed221714c36848b257311b316452e274f7e15
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
This page took 0.02529 seconds and 5 git commands to generate.