aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorZhou Wang <[email protected]>2019-10-26 11:00:16 +0800
committerHerbert Xu <[email protected]>2019-11-01 13:42:47 +0800
commit700f7d0d29c795c36517dcd3541e4432a76c2efc (patch)
treefd10d926f7904cf8446f7d2b0a5209ff49ae58dd /tools/perf/scripts/python
parentf0c8b6a1e1454f1645463e8ffb3e027fc597867c (diff)
crypto: hisilicon - fix to return sub-optimal device when best device has no qps
Currently find_zip_device() finds zip device which has the min NUMA distance with current CPU. This patch modifies find_zip_device to return sub-optimal device when best device has no qps. This patch sorts all devices by NUMA distance, then finds the best zip device which has free qp. Signed-off-by: Zhou Wang <[email protected]> Signed-off-by: Shukun Tan <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions