diff options
author | Shiju Jose <shiju.jose@huawei.com> | 2019-06-13 17:12:22 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-14 19:26:15 -0700 |
commit | a955d71df26c43337ca0ab8f9279d54715cd601f (patch) | |
tree | 2b57b86e2dda56441cec03585edd1c141bb3f069 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c | |
parent | net: hns3: delay setting of reset level for hw errors until slot_reset is called (diff) | |
download | linux-dev-a955d71df26c43337ca0ab8f9279d54715cd601f.tar.xz linux-dev-a955d71df26c43337ca0ab8f9279d54715cd601f.zip |
net: hns3: fix avoid unnecessary resetting for the H/W errors which do not require reset
HNS does not need to be reset when errors occur in some bits.
However presently the HNAE3_FUNC_RESET is set in this case and
as a result the default_reset is done when these errors are reported.
This patch fix this issue. Also patch does some optimization
in setting the reset level for the error recovery.
Reported-by: Weihang Li <liweihang@hisilicon.com>
Signed-off-by: Shiju Jose <shiju.jose@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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions