linux_dsm_epyc7002/drivers/net/ethernet/intel
Jacob Keller 6cb562d668 ixgbe: Use watchdog check in favor of BPF for detecting latched timestamp
This patch removes ixgbe_ptp_match, and the corresponding packet filtering from
ixgbe driver. This code was previously causing some issues within the hotpath of
the driver. However the code also provided a check against possible frozen Rx
timestamp due to dropped packets when the Rx ring is full. This patch provides a
replacement solution based on the watchdog.

To this end, whenever a packet consumes the Rx timestamp it stores the jiffy
value in the rx_ring structure. Watchdog updates its own jiffy timer whenever
there is no valid timestamp in the registers.

If watchdog detects a valid timestamp in the registers, (meaning that no Rx
packet has consumed it yet) it will check which time is most recent, the last
time in the watchdog, or any time in the rx_rings. If the most recent "event"
was more than 5seconds ago, it will flush the Rx timestamp and print a warning
message to the syslog.

Reported-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2013-01-23 14:32:57 -08:00
..
e1000 remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
e1000e e1000e: add support for hardware timestamping on some devices 2013-01-18 04:55:07 -08:00
igb igb: Copyright string update to year 2013 2013-01-19 05:05:05 -08:00
igbvf remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
ixgb remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
ixgbe ixgbe: Use watchdog check in favor of BPF for detecting latched timestamp 2013-01-23 14:32:57 -08:00
ixgbevf ixgbevf: Fix statistics corruption 2013-01-19 04:41:57 -08:00
e100.c remove init of dev->perm_addr in drivers 2013-01-08 18:00:48 -08:00
Kconfig igb: Enable hwmon data output for thermal sensors via I2C. 2013-01-18 04:55:28 -08:00
Makefile intel: Move the Intel wired LAN drivers 2011-08-10 20:03:27 -07:00