Skip to content

Commit

Permalink
Issue: 2269696 Provide ibv_pd for DPCP adapter
Browse files Browse the repository at this point in the history
So far DevX doesn't support GPU memory registration so to use ibv_reg_mr
in DPCP it should have struct ibv_pd*. set_pd method was extended for
optional second parameter with ibv_pd* which was set in VMA.

Signed-off-by: Oleg Kuporosov <[email protected]>
  • Loading branch information
Oleg Kuporosov authored and igor-ivanov committed Aug 28, 2020
1 parent 825994a commit 3ac4e0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vma/dev/ib_ctx_handler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ dpcp::adapter* ib_ctx_handler::set_dpcp_adapter()
goto err;
}

adapter->set_pd(out_pd.pdn);
adapter->set_pd(out_pd.pdn, pd);
status = adapter->open();
if (dpcp::DPCP_OK != status) {
ibch_logerr("failed opening dpcp adapter %s got %d",
Expand Down

0 comments on commit 3ac4e0b

Please sign in to comment.