diff options
| author | Huazhong Tan <[email protected]> | 2018-12-18 19:37:49 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2018-12-18 12:01:01 -0800 |
| commit | e3338205f0c700caae52a36cd0e3a815e6efd281 (patch) | |
| tree | eb680c3937eab04efff768604e933ef07f0c7da5 /tools/perf/scripts/python | |
| parent | cda69d244585bc4497d3bb878c22fe2b6ad647c1 (diff) | |
net: hns3: uninitialize pci in the hclgevf_uninit
In the hclgevf_pci_reset(), it only uninitialize and initialize
the msi, so if the initialization fails, hclgevf_uninit_hdev()
does not need to uninitialize the msi, but needs to uninitialize
the pci, otherwise it will cause pci resource not free.
Fixes: 862d969a3a4d ("net: hns3: do VF's pci re-initialization while PF doing FLR")
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: Peng Li <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions