[openib-general] RDMA Generic Connection Management
James Lentini
jlentini at netapp.com
Tue Aug 30 07:14:19 PDT 2005
On Mon, 29 Aug 2005, Roland Dreier wrote:
> James> What happens if multiple devices can reach the destination
> James> address? How will they be enumerated to the consumer?
>
> I guess we need to move towards the full horror of getaddrinfo().
> Probably we need some unusable native API, and then library functions
> layered on top for consumers that don't care.
>
> Although maybe it's not necessary -- are there any consumers of this
> API that really want to choose among different equal-metric routes?
The rule of thumb should be to provide mechanism not policy. If there
are multiple devices capable of reaching a destination, that should be
exposed to the consumer. Let the consumer decide which to use (perhaps
by looking at the ib_device_attr information).
james
More information about the general
mailing list