diff options
author | Daniel Vacek <neelx@redhat.com> | 2023-01-19 21:23:16 +0100 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2023-02-14 13:08:02 -0800 |
commit | fcc2cef37fed567564f5b94a9c0aba733bb159ab (patch) | |
tree | 4bf0d18d53852d448d0e9b87f91e1df54a0f44d7 /drivers/net/ethernet/intel/ice/ice_dcb.c | |
parent | 634d841dbfa7c530e54db936db05b8bc3a44f429 (diff) | |
download | linux-fcc2cef37fed567564f5b94a9c0aba733bb159ab.tar.gz linux-fcc2cef37fed567564f5b94a9c0aba733bb159ab.tar.bz2 linux-fcc2cef37fed567564f5b94a9c0aba733bb159ab.zip |
ice/ptp: fix the PTP worker retrying indefinitely if the link went down
When the link goes down the ice_ptp_tx_tstamp() may loop re-trying to
process the packets till the 2 seconds timeout finally drops them.
In such a case it makes sense to just drop them right away.
Signed-off-by: Daniel Vacek <neelx@redhat.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_dcb.c')
0 files changed, 0 insertions, 0 deletions