kernel_samsung_a53x/drivers/net/ethernet/amd/xgbe
Raju Rangoju 65ea599892 amd-xgbe: propagate the correct speed and duplex status
[ Upstream commit 7a2323ac24a50311f64a3a9b54ed5bef5821ecae ]

xgbe_get_link_ksettings() does not propagate correct speed and duplex
information to ethtool during cable unplug. Due to which ethtool reports
incorrect values for speed and duplex.

Address this by propagating correct information.

Fixes: 7c12aa08779c ("amd-xgbe: Move the PHY support into amd-xgbe")
Acked-by: Shyam Sundar S K <Shyam-sundar.S-k@amd.com>
Signed-off-by: Raju Rangoju <Raju.Rangoju@amd.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 12:10:55 +01:00
..
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-common.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-dcb.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-desc.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-dev.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-drv.c amd-xgbe: handle the corner-case during tx completion 2024-11-18 12:10:55 +01:00
xgbe-ethtool.c amd-xgbe: propagate the correct speed and duplex status 2024-11-18 12:10:55 +01:00
xgbe-i2c.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-main.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-mdio.c amd-xgbe: handle corner-case during sfp hotplug 2024-11-18 12:10:55 +01:00
xgbe-pci.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-phy-v1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-phy-v2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-platform.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe-ptp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
xgbe.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00