linux_dsm_epyc7002/drivers/net/ethernet/amd/xgbe
Lendacky, Thomas aba9777ae3 amd-xgbe: Add a workaround for Tx timestamp issue
Update the reading of the Tx timestamp to account for a hardware issue
on how the fields and interrupt are cleared.  The "seconds" portion of
the timestamp should be read first, followed by the "nanoseconds" portion.
Reading the "nanoseconds" portion should clear the timestamp data and the
interrupt.  Because of an issue with the hardware this order is reversed
and reading the "seconds" portion actually clears the timestamp.  The code
currently follows this workaround, but to guard against future versions
where this is fixed add a field to the version data to indicate if the
workaround is required or not.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-11-13 00:56:26 -05:00
..
Makefile amd-xgbe: Prepare for supporting PCI devices 2016-11-04 14:48:45 -04:00
xgbe-common.h amd-xgbe: Update how to determine DMA channel status 2016-11-04 14:48:45 -04:00
xgbe-dcb.c amd-xgbe: Do traffic class setup when called through dcbnl 2016-02-17 15:22:20 -05:00
xgbe-debugfs.c amd-xgbe: Check for successful buffer allocation before use 2015-10-05 23:30:51 -07:00
xgbe-desc.c amd-xgbe: Fix DMA API debug warning 2015-07-08 15:57:14 -07:00
xgbe-dev.c amd-xgbe: Add a workaround for Tx timestamp issue 2016-11-13 00:56:26 -05:00
xgbe-drv.c amd-xgbe: Prepare for supporting PCI devices 2016-11-04 14:48:45 -04:00
xgbe-ethtool.c net: xgbe: use new api ethtool_{get|set}_link_ksettings 2016-11-09 13:25:13 -05:00
xgbe-main.c amd-xgbe: Prepare for supporting PCI devices 2016-11-04 14:48:45 -04:00
xgbe-mdio.c amd-xgbe: Add support for clause 37 auto-negotiation 2016-11-04 14:48:44 -04:00
xgbe-phy-v1.c amd-xgbe: Prepare for introduction of clause 37 autoneg 2016-11-04 14:48:44 -04:00
xgbe-platform.c amd-xgbe: Add a workaround for Tx timestamp issue 2016-11-13 00:56:26 -05:00
xgbe-ptp.c ptp: xgbe: convert to the 64 bit get/set time methods. 2015-03-31 12:01:16 -04:00
xgbe.h amd-xgbe: Add a workaround for Tx timestamp issue 2016-11-13 00:56:26 -05:00