]> git.baikalelectronics.ru Git - kernel.git/commit
net: amd-xgbe: ensure to reset the tx_timer_active flag
authorRaju Rangoju <Raju.Rangoju@amd.com>
Thu, 27 Jan 2022 06:02:22 +0000 (11:32 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 28 Jan 2022 03:15:10 +0000 (19:15 -0800)
commit7674b7b559b683478c3832527c59bceb169e701d
treebe2237ba89471fd42406376e004836a3bb6ae8a0
parent33d12dc91bc41183003913b888cc492420ae6ef8
net: amd-xgbe: ensure to reset the tx_timer_active flag

Ensure to reset the tx_timer_active flag in xgbe_stop(),
otherwise a port restart may result in tx timeout due to
uncleared flag.

Fixes: c635eaacbf77 ("amd-xgbe: Remove Tx coalescing")
Co-developed-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
Signed-off-by: Sudheesh Mavila <sudheesh.mavila@amd.com>
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Link: https://lore.kernel.org/r/20220127060222.453371-1-Raju.Rangoju@amd.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c