From: Weihang Li Date: Mon, 3 Jun 2019 02:09:20 +0000 (+0800) Subject: net: hns3: remove setting bit of reset_requests when handling mac tunnel interrupts X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=36701aee36f99a9a8036a4aa3dc909ba81192f52;p=openwrt%2Fstaging%2Fblogic.git net: hns3: remove setting bit of reset_requests when handling mac tunnel interrupts 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 Signed-off-by: Peng Li Signed-off-by: Huazhong Tan Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c index 55c4a1b5e2b1..83b07cef4d50 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_err.c @@ -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: