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 _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
