[libfabric-users] FI_CONNECTED question
Hefty, Sean
sean.hefty at intel.com
Wed Feb 22 09:38:28 PST 2017
> If I have N threads all making connections to remote endpoints, I poll
> the event queue (shared between all active endpoints making the
> connections).
> How do I get the endpoint from the FI_CONNECTED event that tells me
> which connection the event is referring to?
Struct fi_eq_cm_entry contains a fid which is a reference to the EP. E.g.
ep = container_of(cm_entry.fid, struct fid_ep, fid);
Also
cm_entry.fid->context will be the context value associated with the ep
More information about the Libfabric-users
mailing list