diff options
author | Wenpeng Liang <liangwenpeng@huawei.com> | 2019-08-21 16:14:34 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2019-08-28 18:57:26 +0300 |
commit | 18df508c7970c2c5e8bcaed48469bb28f9075e89 (patch) | |
tree | e8c604bc780cf83ae5f1a0182d2719853afa8f96 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e075da5e7c47ee1c20b4e8f9a20c6105be99b10f (diff) | |
download | linux-18df508c7970c2c5e8bcaed48469bb28f9075e89.tar.xz |
RDMA/hns: Remove if-else judgment statements for creating srq
Because if the value of srqwqe_buf_pg_sz is zero, npages and
ib_umem_page_count are equivalent, page_shif and PAGE_SHIFT
are equivalent in hns_roce_create_srq. Here remove it.
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Link: https://lore.kernel.org/r/1566393276-42555-8-git-send-email-oulijun@huawei.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