[libfabric-users] connection-less endpoints and TCP services

Hefty, Sean sean.hefty at intel.com
Wed Mar 29 16:07:08 PDT 2017

> I need to setup a connection-less scenario, in which a number of
> processes are statically mapped to a TCP node:service address and the
> same node may occur multiple times with different services.
> The useful fi_av_insertsvc function is enough for building the same
> address vector for each process, so every process knows that address i
> (according to av) corresponds to a node:service address.
> However I don't get how to map each process i to its node:service
> address, so that the data sent by other processes to index i (from av)
> is delivered to the proper process.

I'm not sure of your requirements yet, but it sounds like you need some sort of table that maps your node:service to the AV index.

> In other words, I don't know how to create an (active, connection-
> less)
> endpoint that accepts data only from node:service. I guess it can be
> done by setting properly some flags to fi_getinfo (e.g., node/service
> parameter or src_addr/dest_addr hints), but I read the documentation
> thoroughly and I couldn't figure out how to do that.

This is where I got lost.  What you do mean create a connectionless endpoint that only accepts data from a specific node:service?  Do you only want the EP to receive data from a single peer?

More information about the Libfabric-users mailing list