diff options
| author | Huazhong Tan <[email protected]> | 2019-01-31 04:55:47 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-01-30 14:50:03 -0800 |
| commit | e215278548f9ea412e2be794efa1c84c6817c657 (patch) | |
| tree | 2c1f26c0400569d3b3d7db6f88864b639667b172 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | c8a8045b2d0a974149d65bbe6a7acbcde93cf85b (diff) | |
net: hns3: fix netif_napi_del() not do problem when unloading
When the driver is unloading, if a global reset occurs,
unmap_ring_from_vector() in the hns3_nic_uninit_vector_data() will
fail, and hns3_nic_uninit_vector_data() just return. There may be
some netif_napi_del() not be done.
Since hardware will unmap all ring while resetting, so
hns3_nic_uninit_vector_data() should ignore this error, and do the
rest uninitialization.
Fixes: 76ad4f0ee747 ("net: hns3: Add support of HNS3 Ethernet Driver for hip08 SoC")
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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions