aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorWeihang Li <[email protected]>2019-02-02 22:39:30 +0800
committerDavid S. Miller <[email protected]>2019-02-02 08:24:08 -0800
commitb671b723e0d235b516dc33c163e6296df9b4f0ca (patch)
tree2e126f1cff25e2b444094c6c834f52e0d2a73103 /tools/perf/scripts/python/sctop.py
parent8ca754b13f3c3b99d946665385b3b76e66aab96d (diff)
net: hns3: add hclge_cmd_check_retval() to parse comman's return value
For simplifying the code, this patch adds hclge_cmd_check_retval() to check the return value of the command. Also, according the IMP's description, when there are several descriptors in a command, then the IMP will save the return value on the last description, so hclge_cmd_check_retval() just check the last one for this case. Signed-off-by: Weihang Li <[email protected]> Signed-off-by: Peng Li <[email protected]> Signed-off-by: Huazhong Tan <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions