[openib-general] Re: [uDAPL] dat.conf generator

Arlin Davis ardavis at ichips.intel.com
Wed Apr 19 12:17:15 PDT 2006


James Lentini wrote:

>On Tue, 18 Apr 2006, Dotan Barak wrote:
>
>  
>
>>On Monday 17 April 2006 23:46, James Lentini wrote:
>>    
>>
>>>On Sun, 16 Apr 2006, Dotan Barak wrote:
>>>
>>>      
>>>
>>>>On Wednesday 12 April 2006 17:50, James Lentini wrote:
>>>>        
>>>>
>>>>>>OpenIB-cma u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "mthca0 1" ""
>>>>>>OpenIB-cma0-1 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "mthca0 1" ""
>>>>>>OpenIB-cma0-2 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "mthca0 2" ""
>>>>>>OpenIB-cma1-1 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "mthca1 1" ""
>>>>>>OpenIB-cma1-2 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "mthca1 2" ""
>>>>>>            
>>>>>>
These entries are wrong. The cma versopm will only work with an ip 
address,  network hostname, or netdev name. The port value is 
meaningless since the name gives you the device and port reference all 
in one.

For cma the best flavor is netdev name as follow:

OpenIB-cma u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 
"ib0 0" ""

because it allows you to have identical dat.conf setups on across your 
cluster if you intend on using the first IB interface on each node.

look at the dapl/doc/dat.conf for the correct examples.

-arlin

#
# DAT 1.2 configuration file
#
# Each entry should have the following fields:
#
# <ia_name> <api_version> <threadsafety> <default> <lib_path> \
#           <provider_version> <ia_params> <platform_params>
#
# Example for openib_cma and openib_scm
#
# For cma version you specify <ia_params> as:
#       network address, network hostname, or netdev name and 0 for port
#
# For scm version you specify <ia_params> as actual device name and port
#
# Simple (OpenIB-cma) default with netdev name provided first on list
# to enable use of same dat.conf version on all nodes
#
OpenIB-cma u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 
"ib0 0" ""
OpenIB-cma-ip u1.2 nonthreadsafe default /usr/lib/libdaplcma.so 
mv_dapl.1.2 "192.168.0.22 0" ""
OpenIB-cma-name u1.2 nonthreadsafe default /usr/lib/libdaplcma.so 
mv_dapl.1.2 "svr1-ib0 0" ""
OpenIB-cma-netdev u1.2 nonthreadsafe default /usr/lib/libdaplcma.so 
mv_dapl.1.2 "ib0 0" ""
OpenIB-scm1 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so 
mv_dapl.1.2 "mthca0 1" ""
OpenIB-scm2 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so 
mv_dapl.1.2 "mthca0 2" ""





More information about the general mailing list