<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi all,<br>
    <br>
    I am from the alpha group [<a class="moz-txt-link-freetext" href="http://alpha.di.unito.it/">http://alpha.di.unito.it/</a>] (CS dept. @
    Univ. of Torino, Italy).<br>
    We just started to integrate libfabric into FastFlow [link], on the
    track of the great job by Paolo Inaudi with the A3Cube provider.<br>
    <br>
    After several readings of all the man pages and some online
    tutorials, I still cannot understand how to work with contexts,
    domains and endpoints.<br>
    I try to illustrate the problem:<br>
    1) single process attached to NIC with address X<br>
    2) two connection-less endpoints A and B<br>
    3) endpoint A should accept data from X:portA, while B from X:portB<br>
    <br>
    If I try to map the hierarchy proposed in the libfabric "object
    model" I would instantiate one context, one domain and both
    endpoints (and respective queues) to that single domain. In this
    setting, I cannot find how to specify the different ports for the
    endpoints. Actually I just need to ensure endpoint A will find only
    messages sent to portA in its completion queue, but I cannot figure
    out how to do it.<br>
    <br>
    Conversely, all the examples I saw (e.g. fabtests benchmarks) use a
    single endpoint per process and the libfabric context is initialized
    with hints and arguments specific to the endpoint. This means I
    should prefer to instantiate one domain (and one context) for each
    endpoint?<br>
    <br>
    Thank you for any help.<br>
    <pre class="moz-signature" cols="72">-- 
Maurizio Drocco
PhD Student
University of Torino, department of Computer Science
Via Pessinetto 12, 10149 Torino - Italy</pre>
  </body>
</html>