diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-01-11 11:33:47 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-12 01:52:22 +0300 |
commit | d4fa06562ae2bb0379a4c6503aca6806a1aeb15e (patch) | |
tree | aa923d896bc0154890d229b0ac64d7ab44a8405b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6821af8b7885870ed0dcb299e4b3cd38695538bc (diff) | |
download | linux-d4fa06562ae2bb0379a4c6503aca6806a1aeb15e.tar.xz |
net: hns3: split hclge_reset() into preparing and rebuilding part
hclge_reset() is a little bloated, and the process of PF FLR will
be separated from the reset task later. So this patch splits
hclge_reset() into hclge_reset_prepare() and hclge_reset_rebuild(),
then FLR can also reuse these two functions.
BTW, since hclge_clear_reset_cause() and hclge_reset_prepare_up()
will not affect the device, so in hclge_reset_rebuild(), these
functions are called without rtnl_lock.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions