Re: [PATCH v3 rdma-rc 1/2] RDMA/hns: Bugfix pbl configuration for rereg mr

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

 



On Fri, Nov 23, 2018 at 03:46:07PM +0800, Yixian Liu wrote:
> Current hns driver assigned the first two PBL page addresses from
> previous registered mr to the hardware when reregister mr changing
> the memory locations occured, it will lead to PBL addressing error
> as the PBL has already been released. This patch fixes this wrong
> assignment by using the page address from new allocated PBL.
> 
> Fixes: a2c80b7b4119 ("RDMA/hns: Add rereg mr support for hip08")
> Signed-off-by: Yixian Liu <liuyixian@xxxxxxxxxx>
> ---
>  drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 128 ++++++++++++++---------------
>  1 file changed, 60 insertions(+), 68 deletions(-)

Applied to for-rc, 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