linux-brain/drivers/net/ethernet/hisilicon/hns3
Yufeng Mo 2e99f68714 net: hns3: disable phy loopback setting in hclge_mac_start_phy
[ Upstream commit 472497d0bdae890a896013332a0b673f9acdf2bf ]

If selftest and reset are performed at the same time, the phy
loopback setting may be still in enable state after the reset,
and device cannot link up. So fix this issue by disabling phy
loopback before phy_start().

Fixes: 256727da73 ("net: hns3: Add MDIO support to HNS3 Ethernet driver for hip08 SoC")
Signed-off-by: Yufeng Mo <moyufeng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-05-19 10:08:26 +02:00
..
hns3pf net: hns3: disable phy loopback setting in hclge_mac_start_phy 2021-05-19 10:08:26 +02:00
hns3vf net: hns3: clear VF down state bit before request link status 2021-04-14 08:24:17 +02:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00
hclge_mbx.h net: hns3: fix the number of queues actually used by ARQ 2021-01-17 14:05:31 +01:00
hnae3.c net: hns3: add client node validity judgment 2019-09-06 15:20:34 +02:00
hnae3.h net: hns3: fix error handling for desc filling 2020-07-29 10:18:33 +02:00
hns3_dcbnl.c net: hns3: fix some coding style issues 2019-06-09 13:20:59 -07:00
hns3_debugfs.c net: hns3: modify some logs format 2019-09-11 09:08:45 +01:00
hns3_enet.c net: hns3: use netif_tx_disable to stop the transmit queue 2021-05-19 10:08:26 +02:00
hns3_enet.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hns3_ethtool.c net: hns3: fix use-after-free when doing self test 2020-07-16 08:16:39 +02:00