1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/hisilicon/hns3/hns3pf
Yufeng Mo 472497d0bd net: hns3: disable phy loopback setting in hclge_mac_start_phy
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>
2021-04-30 14:49:33 -07:00
..
hclge_cmd.c net: hns3: remove redundant blank lines 2021-03-26 14:58:44 -07:00
hclge_cmd.h net: hns3: optimize the process of queue reset 2021-03-29 13:21:00 -07:00
hclge_dcb.c net: hns3: remove redundant client_setup_tc handle 2021-02-09 15:34:07 -08:00
hclge_dcb.h net: hns3: Use the correct style for SPDX License Identifier 2019-11-05 17:45:38 -08:00
hclge_debugfs.c net: hns3: remove unused parameter from hclge_dbg_dump_loopback() 2021-03-26 14:58:44 -07:00
hclge_debugfs.h net: hns3: remove a misused pragma packed 2020-12-06 23:38:33 -08:00
hclge_err.c net: hns3: fix incorrect configuration for igu_egu_hw_err 2021-04-29 15:41:43 -07:00
hclge_err.h net: hns3: fix incorrect configuration for igu_egu_hw_err 2021-04-29 15:41:43 -07:00
hclge_main.c net: hns3: clear unnecessary reset request in hclge_reset_rebuild 2021-04-30 14:49:33 -07:00
hclge_main.h net: hns3: PF add support for pushing link status to VFs 2021-04-15 16:51:29 -07:00
hclge_mbx.c net: hns3: initialize the message content in hclge_get_link_mode() 2021-04-29 15:41:43 -07:00
hclge_mdio.c net: hns3: disable phy loopback setting in hclge_mac_start_phy 2021-04-30 14:49:33 -07:00
hclge_mdio.h net: hns3: add ioctl support for imp-controlled PHYs 2021-03-13 14:11:29 -08:00
hclge_tm.c net: hns3: remove the rss_size limitation by vector num 2021-03-29 13:21:00 -07:00
hclge_tm.h net: hns3: clean up unnecessary parentheses in macro definitions 2021-02-09 15:34:07 -08:00
hclge_trace.h net: hns3: add trace event support for PF/VF mailbox 2020-04-20 12:49:18 -07:00
Makefile net: hns3: add trace event support for PF/VF mailbox 2020-04-20 12:49:18 -07:00