Messages in this thread | | | From | "G, GurucharanX" <> | Subject | RE: [Intel-wired-lan] [PATCH v3] ice/ptp: fix the PTP worker retrying indefinitely if the link went down | Date | Tue, 31 Jan 2023 04:20:02 +0000 |
| |
> -----Original Message----- > From: Intel-wired-lan <intel-wired-lan-bounces@osuosl.org> On Behalf Of > Daniel Vacek > Sent: Friday, January 20, 2023 1:53 AM > To: Brandeburg, Jesse <jesse.brandeburg@intel.com>; Nguyen, Anthony L > <anthony.l.nguyen@intel.com>; David S. Miller <davem@davemloft.net>; > Eric Dumazet <edumazet@google.com>; Jakub Kicinski <kuba@kernel.org>; > Paolo Abeni <pabeni@redhat.com>; Richard Cochran > <richardcochran@gmail.com> > Cc: netdev@vger.kernel.org; intel-wired-lan@lists.osuosl.org; Daniel Vacek > <neelx@redhat.com>; linux-kernel@vger.kernel.org > Subject: [Intel-wired-lan] [PATCH v3] 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> > --- > drivers/net/ethernet/intel/ice/ice_ptp.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) >
Tested-by: Gurucharan G <gurucharanx.g@intel.com> (A Contingent worker at Intel)
| |