summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHuazhong Tan <tanhuazhong@huawei.com>2018-11-07 07:06:18 +0300
committerDavid S. Miller <davem@davemloft.net>2018-11-07 22:42:18 +0300
commit8b0195a30585fefd4c181881077b4181670ca85d (patch)
tree8007bd934f9a4b90795951bfe24d25cf8a421ece /tools/perf/scripts/python/export-to-sqlite.py
parent65e41e7e683862136a817f29a1a457ecdf37ba8a (diff)
downloadlinux-8b0195a30585fefd4c181881077b4181670ca85d.tar.xz
net: hns3: fix for cmd queue memory not freed problem during reset
It is not necessary to reallocate the descriptor and remap the descriptor memory in reset process, otherwise it may cause memory not freed problem. Also, this patch initializes the cmd queue's spinlocks in hclgevf_alloc_cmd_queue, and take the spinlocks when reinitializing cmd queue' registers. Fixes: fedd0c15d288 ("net: hns3: Add HNS3 VF IMP(Integrated Management Proc) cmd interface") 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