Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 583be13c authored by Dennis Dalessandro's avatar Dennis Dalessandro Committed by Doug Ledford
Browse files

staging/rdma/hfi1: Add basic rdmavt capability flags for hfi1



Most functionality is still being done in the driver, set flags so that
rdmavt will let hfi1 continue to handle mr, qp, and cq init.

Reviewed-by: default avatarMike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: default avatarDennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent ec3f2c12
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2074,6 +2074,9 @@ int hfi1_register_ib_device(struct hfi1_devdata *dd)
	 */
	dd->verbs_dev.rdi.driver_f.port_callback = hfi1_create_port_files;
	dd->verbs_dev.rdi.dparms.props.max_pd = hfi1_max_pds;
	dd->verbs_dev.rdi.flags = (RVT_FLAG_MR_INIT_DRIVER |
				   RVT_FLAG_QP_INIT_DRIVER |
				   RVT_FLAG_CQ_INIT_DRIVER);

	ret = rvt_register_device(&dd->verbs_dev.rdi);
	if (ret)