Re: [PATCH for-next] RDMA/hns: Optimize MTR level-0 addressing to access huge page

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 30, 2020 at 10:01:36PM +0800, Weihang Li wrote:
> From: Xi Wang <wangxi11@xxxxxxxxxx>
> 
> If hns ROCEE is set to level-0 addressing, the length of the entire buffer
> can be used as the page size. The driver needn't to split the buffer into
> small units because all pages are continuous.
> 
> Signed-off-by: Xi Wang <wangxi11@xxxxxxxxxx>
> Signed-off-by: Weihang Li <liweihang@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/hns/hns_roce_device.h |  20 +--
>  drivers/infiniband/hw/hns/hns_roce_hw_v1.c  |   7 +-
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c  |  44 +-----
>  drivers/infiniband/hw/hns/hns_roce_mr.c     | 208 +++++++++++++++++-----------
>  4 files changed, 147 insertions(+), 132 deletions(-)

Applied to for-next, thanks

Jason



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux