diff options
author | Xi Wang <wangxi11@huawei.com> | 2021-05-21 17:29:51 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-05-28 20:13:57 -0300 |
commit | 7b0006db6800da4c05883584befa46502d85dede (patch) | |
tree | df6f449dcefdfe4504d35b8e5702823dcb61a11c /fs/configfs | |
parent | 9ecf6ac17c321df396df283a771c29663e44871a (diff) |
RDMA/hns: Optimize the base address table config for MTR
The base address table is allocated by dma allocator, and the size is
always aligned to PAGE_SIZE. If a fixed size is used to allocate the
table, the number of base address entries stored in the table will be
smaller than that can actually stored.
Link: https://lore.kernel.org/r/1621589395-2435-2-git-send-email-liweihang@huawei.com
Signed-off-by: Xi Wang <wangxi11@huawei.com>
Signed-off-by: Weihang Li <liweihang@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'fs/configfs')
0 files changed, 0 insertions, 0 deletions