summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorXi Wang <wangxi11@huawei.com>2020-04-13 19:58:07 +0800
committerJason Gunthorpe <jgg@mellanox.com>2020-04-22 15:59:54 -0300
commitcc23267aedebd847f86953c67606a3f280fde201 (patch)
treedcbe0fe42ceab64c18f659050d3faebc9662cfa8 /tools/perf/scripts/python
parent3c873161a0d7d1e11f1ce9cc59f89a009fb65711 (diff)
downloadlinux-cc23267aedebd847f86953c67606a3f280fde201.tar.gz
linux-cc23267aedebd847f86953c67606a3f280fde201.zip
RDMA/hns: Optimize hns buffer allocation flow
When the value of nbufs is 1, the buffer is in direct mode, which may cause confusion. So optimizes current codes to make it easier to maintain and understand. Link: https://lore.kernel.org/r/1586779091-51410-3-git-send-email-liweihang@huawei.com Signed-off-by: Xi Wang <wangxi11@huawei.com> Signed-off-by: Lang Cheng <chenglang@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')
0 files changed, 0 insertions, 0 deletions