]> asedeno.scripts.mit.edu Git - linux.git/commit
net: hns3: add debug messages to identify eth down cause
authorYonglong Liu <liuyonglong@huawei.com>
Mon, 29 Jul 2019 02:53:27 +0000 (10:53 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Jul 2019 15:23:40 +0000 (08:23 -0700)
commit1c822948fa600d2d2e7926640279b16d1f4a7423
tree71dffa6cfb0a7d71faf33dcdb3559360a11fe5ca
parent923713730db9795ac0658cc207935c11b2bbd705
net: hns3: add debug messages to identify eth down cause

Some times just see the eth interface have been down/up via
dmesg, but can not know why the eth down. So adds some debug
messages to identify the cause for this.

Signed-off-by: Yonglong Liu <liuyonglong@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/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c