summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2019-01-31 04:55:47 +0800
committerDavid S. Miller <davem@davemloft.net>2019-01-30 14:50:03 -0800
commite215278548f9ea412e2be794efa1c84c6817c657 (patch)
tree2c1f26c0400569d3b3d7db6f88864b639667b172 /tools/perf/scripts/python/export-to-postgresql.py
parentc8a8045b2d0a974149d65bbe6a7acbcde93cf85b (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 <tanhuazhong@huawei.com> Signed-off-by: Peng Li <lipeng321@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