summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorWeihang Li <liweihang@hisilicon.com>2019-09-04 11:14:42 +0800
committerDoug Ledford <dledford@redhat.com>2019-10-21 15:29:37 -0400
commite8a07de57ea4ca7c2d604871c52826e66899fc70 (patch)
treea32ee8b5a5966e1597d007df9dec881f0b9072af /tools/perf/scripts/python/export-to-postgresql.py
parent9f7d7064009c37cb26eee4a83302cf077fe180d6 (diff)
RDMA/hns: Fix wrong parameters when initial mtt of srq->idx_que
The parameters npages used to initial mtt of srq->idx_que shouldn't be same with srq's. And page_shift should be calculated from idx_buf_pg_sz. This patch fixes above issues and use field named npage and page_shift in hns_roce_buf instead of two temporary variables to let us use them anywhere. Fixes: 18df508c7970 ("RDMA/hns: Remove if-else judgment statements for creating srq") Signed-off-by: Weihang Li <liweihang@hisilicon.com> Link: https://lore.kernel.org/r/1567566885-23088-3-git-send-email-liweihang@hisilicon.com Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions