diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2020-01-11 16:33:53 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-01-11 14:52:23 -0800 |
commit | c7554dcd6dbff3d1b295062649df4bce410bf50e (patch) | |
tree | f47a32c92e8b6cfd3e4440c579ad07ec220f69c4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c3106cac2a80381e860adbd416e166f778b8806a (diff) |
net: hns3: refactor the notification scheme of PF reset
hclge_reset_prepare_down() is only used to inform VF that PF is
going to do function reset, then using hclge_func_reset_sync_vf()
in hclge_reset_prepare_wait() to query whether VF is ready before
asserting PF function reset. To make the code more readable,
this patch uses a new function hclge_function_reset_notify_vf()
to do this job.
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