mbox series

[for-next,0/3] RDMA/hns: Fixes for calculation of sge

Message ID 1606558959-48510-1-git-send-email-liweihang@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Fixes for calculation of sge | expand

Message

Weihang Li Nov. 28, 2020, 10:22 a.m. UTC
There are two issues with calculation of extended sge, one is about page
alignment and another is about the 0-length sges. Then, the path #3
refactor the code.

Lang Cheng (1):
  RDMA/hns: Fix 0-length sge calculation error

Weihang Li (1):
  RDMA/hns: Refactor process of setting extended sge

Yangyang Li (1):
  RDMA/hns: Bugfix for calculation of extended sge

 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 24 +++++-------
 drivers/infiniband/hw/hns/hns_roce_qp.c    | 61 +++++++++++++++---------------
 2 files changed, 41 insertions(+), 44 deletions(-)

Comments

Jason Gunthorpe Dec. 2, 2020, 1:02 a.m. UTC | #1
On Sat, Nov 28, 2020 at 06:22:36PM +0800, Weihang Li wrote:
> There are two issues with calculation of extended sge, one is about page
> alignment and another is about the 0-length sges. Then, the path #3
> refactor the code.
> 
> Lang Cheng (1):
>   RDMA/hns: Fix 0-length sge calculation error
> 
> Weihang Li (1):
>   RDMA/hns: Refactor process of setting extended sge
> 
> Yangyang Li (1):
>   RDMA/hns: Bugfix for calculation of extended sge

Applied to for-next

Thanks,
Jason