]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
committerPaolo Pisati <paolo.pisati@canonical.com>
Thu, 10 Feb 2022 14:22:37 +0000 (15:22 +0100)
commitb7f3072b67fe3c4d54a2fd53c7e12dfa132c0236
treea3249f23aa17cf8bea9df7d5012dfa768f16a746
parentd25e017cec9471dc86c4e59ac7f849450e0f9902
net: amd-xgbe: ensure to reset the tx_timer_active flag

BugLink: https://bugs.launchpad.net/bugs/1960509
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>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/net/ethernet/amd/xgbe/xgbe-drv.c