IB/rdmavt: Move memory registration into rdmavt
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Wed, 6 Jan 2016 18:03:31 +0000 (10:03 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:12 +0000 (20:37 -0500)
commit7b1e2099adc8e66f78fee2dd2f10cb8a11362083
treeb8d9f6a0e16b47085d040db5a7fa8c33c080d27e
parent0b8a8aae02abfbd724186cffe400fbdbf0cb41d6
IB/rdmavt: Move memory registration into rdmavt

Use the memory registration routines in hfi1 and move them to rdmavt.
A follow on patch will address removing the duplicated code in the
hfi1 and qib drivers.

Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rdmavt/mr.c
drivers/infiniband/sw/rdmavt/mr.h
drivers/infiniband/sw/rdmavt/vt.c
include/rdma/rdma_vt.h