commit | 1cc9bc6e586782921f2bc31fd9f121e8fe2de100 | [log] [tgz] |
---|---|---|
author | Huazhong Tan <tanhuazhong@huawei.com> | Sat Jan 11 16:33:48 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat Jan 11 14:52:22 2020 -0800 |
tree | 08016799694b54e278277f41fb7a7d43c4284394 | |
parent | d4fa06562ae2bb0379a4c6503aca6806a1aeb15e [diff] |
net: hns3: split hclgevf_reset() into preparing and rebuilding part 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> Signed-off-by: David S. Miller <davem@davemloft.net>