Skip to content

Commit

Permalink
prov/shm: Store the srx in the fid context
Browse files Browse the repository at this point in the history
The parent provider should be able to get access to the peer provider
callbacks. Added the srx block in the fid.context so we can retrieve it
later on.

Signed-off-by: Amir Shehata <shehataa@ornl.gov>
  • Loading branch information
amirshehataornl committed May 10, 2024
1 parent 129c33c commit e277456
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prov/shm/src/smr_ep.c
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,7 @@ static int smr_ep_ctrl(struct fid *fid, int command, void *arg)
if (ret)
return ret;
} else {
ep->util_ep.ep_fid.fid.context = ep->srx;
ep->util_ep.ep_fid.msg = &smr_no_recv_msg_ops;
ep->util_ep.ep_fid.tagged = &smr_no_recv_tag_ops;
}
Expand Down

0 comments on commit e277456

Please sign in to comment.