IB/rdmavt: Add ib core device attributes to rvt driver params list
authorDennis Dalessandro <dennis.dalessandro@intel.com>
Wed, 6 Jan 2016 17:52:19 +0000 (09:52 -0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 11 Mar 2016 01:37:05 +0000 (20:37 -0500)
commitb1070a7a4d304e680eb6c1158d76645cf5a923f1
tree11adfa647735a45ad269ed32c6bb059a5054c3c0
parent8afd32eb58b6885fc3e268c69b1b1b627aa2afaf
IB/rdmavt: Add ib core device attributes to rvt driver params list

Instead of trying to handle each parameter separately, add ib_device_attr
to rvt_driver_params. This means drivers will fill this in and pass to the
rvt registration function.

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