]> git.openfabrics.org - ~ardavis/dapl.git/commit
SCM: getifaddrs modfications for better out of the box experience
authorArlin Davis <arlin.r.davis@intel.com>
Tue, 1 Oct 2013 22:40:17 +0000 (15:40 -0700)
committerArlin Davis <arlin.r.davis@intel.com>
Tue, 1 Oct 2013 22:40:17 +0000 (15:40 -0700)
commit53534445d649812061b1849b1a77a3499ba0cdd0
treec43e2f388b7aaa0adab1b2156cab96b3adfbd88c
parent3315b8148ba52da67e422cf9afe6fa35d2161885
SCM: getifaddrs modfications for better out of the box experience

socket cm will now walk list of interfaces and ignore loopback
and ignore IB devices, unless the IB netdev is the only device.
Works better in a heterogenous environment with a mix of net device.
Tested with br0, mic0, and mic0:ib netdev mixes.
Overriding with DAPL_SCM_NETDEV still works as is.

Signed-off-by: Patrick Mccormick <patrick.m.mccormick@intel.com>
Signed-off-by: Arlin Davis <arlin.r.davis@intel.com>
dapl/openib_common/util.c