summaryrefslogtreecommitdiff
path: root/include/linux/processor.h
diff options
context:
space:
mode:
authorThangaraj Samynathan <thangaraj.s@microchip.com>2026-03-23 09:53:45 +0300
committerJakub Kicinski <kuba@kernel.org>2026-03-25 06:48:25 +0300
commit71399707876b93240f236f48b8062f3423a5fe97 (patch)
tree889d6733690660689eb5195a2f573c6d19d4470e /include/linux/processor.h
parentba8bda9a0896746053aa97ac6c3e08168729172c (diff)
downloadlinux-71399707876b93240f236f48b8062f3423a5fe97.tar.xz
net: lan743x: fix duplex configuration in mac_link_up
The driver does not explicitly configure the MAC duplex mode when bringing the link up. As a result, the MAC may retain a stale duplex setting from a previous link state, leading to duplex mismatches with the link partner and degraded network performance. Update lan743x_phylink_mac_link_up() to set or clear the MAC_CR_DPX_ bit according to the negotiated duplex mode. This ensures the MAC configuration is consistent with the phylink resolved state. Fixes: a5f199a8d8a03 ("net: lan743x: Migrate phylib to phylink") Signed-off-by: Thangaraj Samynathan <thangaraj.s@microchip.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/20260323065345.144915-1-thangaraj.s@microchip.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/processor.h')
0 files changed, 0 insertions, 0 deletions