]> git.openfabrics.org - ~shefty/rdma-win.git/commit
[DAPL2] udapl/scm: convert error code into dapl error code
authorstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 1 Sep 2009 21:56:34 +0000 (21:56 +0000)
committerstansmith <stansmith@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 1 Sep 2009 21:56:34 +0000 (21:56 +0000)
commitb5b5b052115be391986d3c33ace9cd2021b7f7b4
tree7d621e8c92f4c874ef196a66523a9db68b456fbb
parent5931a9e90f739d4ac390ee5c1f39703ddda1db36
[DAPL2] udapl/scm: convert error code into dapl error code
Intel MPI checks the uDAPL error code when calling dat_psp_create() to see if
the port number that it provides is in use or not.  Convert winsock error codes
to unix errno values.

This fixes the following error reported by Intel MPI:
'DAPL provider is not found and fallback device is not enabled'

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1@2401 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
branches/WOF2-1/ulp/dapl2/dapl/openib_scm/cm.c