]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: remove reset after command send failed
authorWeihang Li <liweihang@hisilicon.com>
Thu, 25 Apr 2019 12:42:55 +0000 (20:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Apr 2019 16:13:29 +0000 (12:13 -0400)
commit158022971b75428fc758c884d3e3aac868bfb769
tree47322c80ce72a2afa5f1c9eb30129e25b786ca34
parent14ae10411bbbe4e74c991e5151b01f033ad4d6fb
net: hns3: remove reset after command send failed

It's meaningless to trigger reset when failed to send command to IMP,
because the failure is usually caused by no authority, illegal command
and so on. When that happened, we just need to return the status code
for further debugging.

Signed-off-by: Weihang Li <liweihang@hisilicon.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_err.c