aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com/git:
diff options
context:
space:
mode:
authorRaju Rangoju <Raju.Rangoju@amd.com>2025-10-10 12:21:42 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 16:24:30 +0200
commit2d988cfdfb600eece69e4c8c030fe594849a9d15 (patch)
tree0bce3b1621fb3a3ccd75b52651e3df5f48ba6ec1 /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com/git:
parentnet: phy: realtek: Avoid PHYCR2 access if PHYCR2 not present (diff)
amd-xgbe: Avoid spurious link down messages during interface toggle
[ Upstream commit 2616222e423398bb374ffcb5d23dea4ba2c3e524 ] During interface toggle operations (ifdown/ifup), the driver currently resets the local helper variable 'phy_link' to -1. This causes the link state machine to incorrectly interpret the state as a link change event, resulting in spurious "Link is down" messages being logged when the interface is brought back up. Preserve the phy_link state across interface toggles to avoid treating the -1 sentinel value as a legitimate link state transition. Fixes: 88131a812b16 ("amd-xgbe: Perform phy connect/disconnect at dev open/stop") Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com> Reviewed-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com> Link: https://patch.msgid.link/20251010065142.1189310-1-Raju.Rangoju@amd.com Signed-off-by: Paolo Abeni <pabeni@redhat.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions