aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorChengchang Tang <[email protected]>2022-11-26 18:29:08 +0800
committerJason Gunthorpe <[email protected]>2022-12-07 19:51:05 -0400
commit9fb39ef2ff3e18f1740625ba04093dfbef086d2b (patch)
treeb74217e4469695c616d56ad59dbb4103a40c9077 /lib/mpi/mpi-mod.c
parentbc34c04f7b97c3794dec5a6d6d27ffd5f0e4f5c8 (diff)
RDMA/hns: Fix PBL page MTR find
Now, The address of the first two pages in the MR will be searched, which use to speed up the lookup of the pbl table for hardware. An exception will occur when there is only one page in this MR. This patch fix the number of page to search. Fixes: 9b2cf76c9f05 ("RDMA/hns: Optimize PBL buffer allocation process") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Chengchang Tang <[email protected]> Signed-off-by: Haoyue Xu <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions