]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 8 Feb 2022 17:23:12 +0000 (18:23 +0100)
commit6b90b8ff90d212da14d1fd0e58d96f677ecae0fe
treec40814811f18843e91c52365e74eea4c06ac1b65
parent0ea863e2c9459ce62608a9ff28f8fec1380cfb6e
net: amd-xgbe: ensure to reset the tx_timer_active flag

commit 7674b7b559b683478c3832527c59bceb169e701d upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c