Searched hist:"29 b821fe976910bed20e375f9f3a77454dfcf9bc" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_ptp.c | diff 29b821fe976910bed20e375f9f3a77454dfcf9bc Wed Jun 03 19:01:01 CDT 2020 Andre Guedes <andre.guedes@intel.com> igc: Remove duplicate code in Tx timestamp handling
The functions igc_ptp_tx_hang() and igc_ptp_tx_work() have duplicate code which handles Tx timestamp timeouts. This patch does a trivial refactoring by moving that code to its own function and reusing it.
Signed-off-by: Andre Guedes <andre.guedes@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
|