net: hns3: remove setting bit of reset_requests when handling mac tunnel interrupts
authorWeihang Li <liweihang@hisilicon.com>
Mon, 3 Jun 2019 02:09:20 +0000 (10:09 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Jun 2019 22:32:50 +0000 (15:32 -0700)
We shouldn't set HNAE3_NONE_RESET bit of the variable that represents a
reset request during handling of MSI-X errors, or may cause issue when
trigger reset.

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

index 55c4a1b5e2b14c367817fbf390d90d384132a200..83b07cef4d5023310c38e91914e0e471a796d9e5 100644 (file)
@@ -1783,7 +1783,6 @@ int hclge_handle_hw_msix_error(struct hclge_dev *hdev,
                ret = hclge_clear_mac_tnl_int(hdev);
                if (ret)
                        dev_err(dev, "clear mac tnl int failed (%d)\n", ret);
-               set_bit(HNAE3_NONE_RESET, reset_requests);
        }
 
 msi_error: