Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 36701aee authored by Weihang Li's avatar Weihang Li Committed by David S. Miller
Browse files

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: default avatarWeihang Li <liweihang@hisilicon.com>
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6aa5d07d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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: