summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorYangyang Li <liyangyang20@huawei.com>2019-08-09 17:41:01 +0800
committerDoug Ledford <dledford@redhat.com>2019-08-13 12:32:37 -0400
commitd7e5ca88d60c0b5e166e33bfe356e961824ce0f4 (patch)
tree06c6bc23f498b110287ef5db3339b29c09ace926 /tools/perf/scripts/python/export-to-sqlite.py
parent76827087bb3f82f3cc18871633e06a4df36a5ed9 (diff)
RDMA/hns: Modify pi vlaue when cq overflows
When exiting "for loop", the actual value of pi will be increased by 1, which is compatible with the next calculation. But when pi is equal to "ci + hr_cq-> ib_cq.cqe", the "break" was called and the pi is actual value, it will lead one cqe still existing, so the "==" should be modify to ">". Signed-off-by: Yangyang Li <liyangyang20@huawei.com> Link: https://lore.kernel.org/r/1565343666-73193-5-git-send-email-oulijun@huawei.com Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions