diff options
author | Andre Guedes <[email protected]> | 2020-06-03 17:01:01 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2020-06-29 18:21:19 -0700 |
commit | 29b821fe976910bed20e375f9f3a77454dfcf9bc (patch) | |
tree | d18494a0c0d28d7281b55c29e05da512d51c5517 /scripts/bpf_helpers_doc.py | |
parent | 3a66abe903e54b83099df70d1ecc67cab02d8241 (diff) |
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 <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions