aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHuazhong Tan <[email protected]>2019-02-20 10:32:50 +0800
committerDavid S. Miller <[email protected]>2019-02-21 16:29:05 -0800
commit232d0d55fca6ab589d5267c74a376210f341d71e (patch)
tree80dffff1b4b324d1181290e18ba5050af0623051 /tools/perf/scripts/python/event_analyzing_sample.py
parentc6075b193462d9a3930fb41f587f94720658752a (diff)
net: hns3: uninitialize command queue while unloading PF driver
According to the hardware's description, the driver should clear the command queue's registers when uloading driver. Otherwise, these existing value may lead the IMP get into a wrong state. Also this patch adds hclge_cmd_uninit() to do the command queue uninitialization which includes clearing registers and freeing memory. Fixes: 68c0a5c70614 ("net: hns3: Add HNS3 IMP(Integrated Mgmt Proc) Cmd Interface Support") 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/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions