net: hns3: split hclgevf_reset() into preparing and rebuilding part
driver inclusion category: bugfix bugzilla: NA CVE: NA hclgevf_reset() is a little bloated, and the process of VF FLR will be separated from the reset task later. So this patch splits hclgevf_reset() into hclgevf_reset_prepare() and hclge_reset_rebuild(), then FLR can also reuse these two functions. Also moves HNAE3_UP_CLIENT into hclgevf_reset_stack(). Signed-off-by:Huazhong Tan <tanhuazhong@huawei.com> Reviewed-by:
Peng Li <lipeng321@huawei.com> Reviewed-by:
Zhong Zhaohui <zhongzhaohui@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com>
Loading
Please sign in to comment