[libfabric-users] use of fi_av_straddr
Howard Pritchard
hppritcha at gmail.com
Thu Feb 11 15:02:40 PST 2016
HI Folks,
I've got someone wanting to come up to speed with libfabric for an
application.
As is typical, when one is looking at this api for the first time,
questions come up
about things from a different angle.
The user wants to know what good fi_av_straddr is, and if can be used in
some
way to load in entries to an av table via fi_av_insertsvc or similar.
Except for, perhaps, informational output, is there any intended use
case for fi_av_straddr? Could we standardize the format of this string
such that
irrespective of provider, it could be used as an out-of-band mechanism for
loading
entries in to an av using the fi_av_insertsvc?
I've had a similar request from the Intrepid folks who I recall were hoping
to use
the output of fi_av_straddr, to determine whether or not endpoints were
created
by processes on the same node.
The sockets, udp, GNI, and usnic providers return a string of format
network_addr:portnum
or the equivalent thereof, whereas the PSM and PSM2 providers return a
single hex
number.
Would it be possible to standardize the output to be of form network_addr
(possibly
provider specific): portnum string format. The string len could remain
specific.
I think apps could benefit from knowing that this string could then be
cracked and fed
in to fi_av_insertsvc, and that the first part could be used to detect
EP's on the
same node.
Thanks for any suggestions,
Howard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20160211/7c3bbd26/attachment.html>
More information about the Libfabric-users
mailing list