mbox series

[v3,for-next,0/2] RDMA/hns: Add mw support for hip08 in kernel space

Message ID 1537694447-50612-1-git-send-email-liuyixian@huawei.com (mailing list archive)
Headers show
Series RDMA/hns: Add mw support for hip08 in kernel space | expand

Message

Yixian Liu Sept. 23, 2018, 9:20 a.m. UTC
This patch set adds memory window (mw) support for hip08
in kernel space, including alloc mw and dealloc mw.
---
v2->v3:
1. revise the name of patch 1 caused by a stupid mistake

v1->v2:
1. delete unnecessary user-space judgement as kernel not
   support mw.
2. refactor patch set to avoid making changes for patch 1
   in patch 2, which is unreasonable.

Yixian Liu (2):
  RDMA/hns: Add alloc mw support for hip08
  RDMA/hns: Add dealloc mw support for hip08

 drivers/infiniband/hw/hns/hns_roce_device.h |  21 +++++
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c  |  45 +++++++++++
 drivers/infiniband/hw/hns/hns_roce_hw_v2.h  |  10 +++
 drivers/infiniband/hw/hns/hns_roce_main.c   |   9 +++
 drivers/infiniband/hw/hns/hns_roce_mr.c     | 120 ++++++++++++++++++++++++++++
 5 files changed, 205 insertions(+)

Comments

Jason Gunthorpe Sept. 26, 2018, 10:26 p.m. UTC | #1
On Sun, Sep 23, 2018 at 05:20:45PM +0800, Yixian Liu wrote:
> This patch set adds memory window (mw) support for hip08
> in kernel space, including alloc mw and dealloc mw.
> v2->v3:
> 1. revise the name of patch 1 caused by a stupid mistake
> 
> v1->v2:
> 1. delete unnecessary user-space judgement as kernel not
>    support mw.
> 2. refactor patch set to avoid making changes for patch 1
>    in patch 2, which is unreasonable.
> 
> Yixian Liu (2):
>   RDMA/hns: Add alloc mw support for hip08
>   RDMA/hns: Add dealloc mw support for hip08

I squahed these two patches together and merged to for-next

Thanks,
Jason