[RFC rdma 0/3] Add a common mmap API

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

 



This series moves all mmap related function from efa driver to
ib_core. The code is copied almost as is with some minor
changes not to use efa specific structures. 
Functions and structures were renamed to have rdma_user_mmap
prefix instead of efa. 

The efa driver and qedr driver are modified to use the common
API. 

This code change is preliminary and requires testing, sent as
an RFC to see if it is acceptable to go in this direction. 
Michal Kalderon (3):
  RDMA/core: Create a common mmap function
  RDMA/efa: Use the common mmap API
  RDMA/qedr: User the common mmap API

 drivers/infiniband/core/rdma_core.c   |   1 +
 drivers/infiniband/core/uverbs_cmd.c  |   1 +
 drivers/infiniband/core/uverbs_main.c | 177 ++++++++++++++++++++++++
 drivers/infiniband/hw/efa/efa.h       |   2 -
 drivers/infiniband/hw/efa/efa_main.c  |   2 +-
 drivers/infiniband/hw/efa/efa_verbs.c | 248 +++++-----------------------------
 drivers/infiniband/hw/qedr/main.c     |   2 +-
 drivers/infiniband/hw/qedr/qedr.h     |  13 --
 drivers/infiniband/hw/qedr/verbs.c    | 125 ++---------------
 drivers/infiniband/hw/qedr/verbs.h    |   1 -
 include/rdma/ib_verbs.h               |  29 ++++
 11 files changed, 249 insertions(+), 352 deletions(-)

-- 
2.14.5




[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