Commit 4267d3e8 authored by Yufeng Mo's avatar Yufeng Mo Committed by Yang Yingliang
Browse files

net: hns3: clear hardware resource when loading driver



driver inclusion
category: bugfix
bugzilla: NA
CVE: NA

----------------------------

If a PF is bonded to a virtual machine and the virtual machine
exits unexpectedly, some hardware resource cannot be cleared.
In this case, loading driver may cause exceptions. Therefore,
the hardware resource needs to be cleared when the driver is loaded.

Signed-off-by: default avatarYufeng Mo <moyufeng@huawei.com>
Reviewed-by: default avatarJian Shen <shenjian15@huawei.com>
Reviewed-by: default avatarPeng Li <lipeng321@huawei.com>
Reviewed-by: default avatarFenglong Kang <kangfenglong@huawei.com>
Reviewed-by: default avatarLiubin Shu <shuliubin@huawei.com>
Signed-off-by: default avatarYonglong Liu <liuyonglong@huawei.com>
Reviewed-by: default avatarYongxin Li <liyongxin1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 29009f70
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment