kernel_samsung_a53x/drivers/net/ethernet/hisilicon/hns3
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
..
hns3pf net: hns3: fix port duplex configure error in IMP reset 2024-11-19 08:44:49 +01:00
hns3vf net: hns3: fix VF reset fail issue 2024-11-18 11:43:19 +01:00
hclge_mbx.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hnae3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hnae3.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_dcbnl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_debugfs.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_enet.c net: vlan: introduce skb_vlan_eth_hdr() 2024-11-18 12:11:48 +01:00
hns3_enet.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_ethtool.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
hns3_trace.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00