diff options
author | Huazhong Tan <tanhuazhong@huawei.com> | 2018-11-09 17:07:46 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-10 03:47:34 +0300 |
commit | 9c6f70857785902a089e4aa06041c52eb67d2b29 (patch) | |
tree | 52a2f4c55c24a9d61a02a8c9f4ab4ac90d0a4747 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 40c4b1e9b6ca39c9b0b40b69cf3fb71e01c5d490 (diff) | |
download | linux-9c6f70857785902a089e4aa06041c52eb67d2b29.tar.xz |
net: hns3: add reset_hdev to reinit the hdev in VF's reset process
When doing reset, the reset handling function only need to
reinitialize hardware, it makes sense to add a function to
do that job. Also the error handling of hclgevf_init_hdev is
different when it is used in reset process.
This patch adds reset_hdev to reinitialize hardware when resetting.
Also, this patch removes the hclgevf_dev_ongoing_full_reset because
it is unused now.
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions