OSDN Git Service

igc: Remove timeout check from ptp_tx work
authorAndre Guedes <andre.guedes@intel.com>
Tue, 28 Jul 2020 23:37:53 +0000 (16:37 -0700)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Mon, 28 Sep 2020 21:42:45 +0000 (14:42 -0700)
commit09cb2a340425fc0da1c5c61b1e13424d53314244
tree897c75fdd85259a1675966960278da205a3700ee
parent530a763db88e9eb9671b2c56343ca08f0c43cff6
igc: Remove timeout check from ptp_tx work

The Tx timestamp timeout is already checked by the watchdog_task
which runs periodically. In addition to that, from the ptp_tx work
perspective, if __IGC_PTP_TX_IN_PROGRESS flag is set we always want
handle the timestamp stored in hardware and update the skb. So remove
the timeout check in igc_ptp_tx_work() function.

Signed-off-by: Andre Guedes <andre.guedes@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/igc/igc_ptp.c