kernel_samsung_a53x/drivers/net/ethernet/hisilicon
Jie Wang d497a26bc9 net: hns3: fix port duplex configure error in IMP reset
[ Upstream commit 11d80f79dd9f871a52feba4bf24b5ac39f448eb7 ]

Currently, the mac port is fixed to configured as full dplex mode in
hclge_mac_init() when driver initialization or reset restore. Users may
change the mode to half duplex with ethtool,  so it may cause the user
configuration dropped after reset.

To fix it, don't change the duplex mode when resetting.

Fixes: 2d03eacc0b7e ("net: hns3: Only update mac configuation when necessary")
Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-19 08:44:49 +01:00
..
hns net: hns: fix fake link up on xge port 2024-11-18 12:11:39 +01:00
hns3 net: hns3: fix port duplex configure error in IMP reset 2024-11-19 08:44:49 +01:00
hip04_eth.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hisi_femac.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
hix5hd2_gmac.c Backport mac80211 patches from linux-6.1.y 2024-06-15 16:29:20 -03:00
hns_mdio.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00