]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: After setting the loopback, add the status of getting MAC
authorliuzhongzhu <liuzhongzhu@huawei.com>
Sat, 26 Jan 2019 16:49:15 +0000 (00:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jan 2019 17:33:30 +0000 (09:33 -0800)
commit939ef3479514d4dafb366966a5c0c43bcdbb1910
tree793465a694fbf3e1ad3b065b63b05c231431c849
parent63b5522db673a46c27801cf81c3cc7986b91ffb4
net: hns3: After setting the loopback, add the status of getting MAC

After setting the serdes loopback, you need to determine
the status of the MAC negotiation. If a status exception
is obtained after 200ms, a timeout error is returned.

Signed-off-by: liuzhongzhu <liuzhongzhu@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c