
9 Oct
2021
9 Oct
'21
2:39 p.m.
This patch add a new mmap implementaion for hns, subsequent new mmap types will be implemented using this method. Changes in v4: ============== - Replace rdma_user_mmap_entry with hns_user_mmap_entry. - Use rdma_user_mmap_entry_insert_range() to achieve compatibility with legacy mode and always keep the mmap routine in new mode. Chengchang Tang (1): RDMA/hns: Add a new mmap implementation drivers/infiniband/hw/hns/hns_roce_device.h | 23 ++++ drivers/infiniband/hw/hns/hns_roce_main.c | 196 ++++++++++++++++++++++++---- include/uapi/rdma/hns-abi.h | 21 ++- 3 files changed, 213 insertions(+), 27 deletions(-) -- 2.9.5