]> git.openfabrics.org - ~shefty/libibcm.git/commit
libibcm: open correct ucm file
authorSean Hefty <sean.hefty@intel.com>
Tue, 22 Jul 2008 05:23:02 +0000 (22:23 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 22 Jul 2008 05:23:02 +0000 (22:23 -0700)
commitae8c050d9d069607fac5899c8fa1d4ed8a0a79e2
tree4ca7cd52538baa695de9c537a73c21c9e069767f
parent611c70028fe8d471620b9dcd711e17c9b9c926dd
libibcm: open correct ucm file

When opening the ucm* file, we need to select the correct file based
on the underlying libibverbs device.  We cannot base the file name
on the uverbs* file name, since iwarp devices do not result in ucm*
files.  Instead, we need to search for the correct file name based
on the device name.

This fixes a problem reported by Jeff Squires of Cisco running ib_cm
on a system with both iwarp and ib devices present.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/cm.c