summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorLijun Ou <oulijun@huawei.com>2020-03-20 06:23:36 +0300
committerJason Gunthorpe <jgg@mellanox.com>2020-03-26 22:52:27 +0300
commit99e713f8daf8e0ddb728ba543a05a2b67d8c47cc (patch)
tree625db10304bff7c00167f0b6f1b26fdc0b6ace04 /tools/perf/scripts/python/export-to-postgresql.py
parentd398d4ca5f17e7ba762bc897c82afca868e47a7c (diff)
downloadlinux-99e713f8daf8e0ddb728ba543a05a2b67d8c47cc.tar.xz
RDMA/hns: Optimize hns_roce_alloc_vf_resource()
The capbilities of hardware should be got at first and then used in hns_roce_alloc_vf_resource(). Also removes an unnecessary if ... else condition in it. Link: https://lore.kernel.org/r/1584674622-52773-5-git-send-email-liweihang@huawei.com Signed-off-by: Lijun Ou <oulijun@huawei.com> Signed-off-by: Weihang Li <liweihang@huawei.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions