]> asedeno.scripts.mit.edu Git - linux.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)
commit96490a1c09ce8af322f646b20d1dd6255e2e9ae2
tree47322c80ce72a2afa5f1c9eb30129e25b786ca34
parent7b8f622e537aa87b52def78c37a8645d979fb7cc
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