linux/drivers/infiniband
Chengchang Tang 9fb39ef2ff 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: 9b2cf76c9f ("RDMA/hns: Optimize PBL buffer allocation process")
Link: https://lore.kernel.org/r/20221126102911.2921820-4-xuhaoyue1@hisilicon.com
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
Signed-off-by: Haoyue Xu <xuhaoyue1@hisilicon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-12-07 19:51:05 -04:00
..
core RDMA/cma: Change RoCE packet life time from 18 to 16 2022-12-07 19:44:27 -04:00
hw RDMA/hns: Fix PBL page MTR find 2022-12-07 19:51:05 -04:00
sw RDMA/rxe: Enable atomic write capability for rxe device 2022-12-01 19:51:10 -04:00
ulp RDMA/srp: Fix error return code in srp_parse_options() 2022-12-04 15:26:58 +02:00
Kconfig RDMA: Disable IB HW for UML 2022-12-04 15:22:03 +02:00
Makefile