mbox series

[v2,for-next,0/2] Add mw support for hip08 in kernel space

Message ID 1537184213-24031-1-git-send-email-liuyixian@huawei.com (mailing list archive)
Headers show
Series Add mw support for hip08 in kernel space | expand

Message

Yixian Liu Sept. 17, 2018, 11:36 a.m. UTC
This patch set adds memory window (mw) support for hip08
in kernel space, including mw alloc and dealloc.

---
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 dealloc 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   |  12 +++
 drivers/infiniband/hw/hns/hns_roce_mr.c     | 120 ++++++++++++++++++++++++++++
 5 files changed, 208 insertions(+)