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

Dotan Barak dotanb at mellanox.co.il
Wed Apr 12 01:22:48 PDT 2006


Hi.

I'm working on a dat.conf generator that will search for all of the IB devices and will create a valid (and updated) dat.conf.

Here is the generated file on a machine with 2 HCAs (2 ports in each device):

# 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 "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" ""
OpenIB-cma-netdev0 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib0 0" ""
OpenIB-cma-netdev1 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib1 0" ""
OpenIB-cma-netdev2 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib2 0" ""
OpenIB-cma-netdev3 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib3 0" ""
OpenIB-scm u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "mthca0 1" ""
OpenIB-scm0-1 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "mthca0 1" ""
OpenIB-scm0-2 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "mthca0 2" ""
OpenIB-scm1-1 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "mthca1 1" ""
OpenIB-scm1-2 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "mthca1 2" ""
OpenIB-scm-netdev0 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "ib0 0" ""
OpenIB-scm-netdev1 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "ib1 0" ""
OpenIB-scm-netdev2 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "ib2 0" ""
OpenIB-scm-netdev3 u1.2 nonthreadsafe default /usr/lib/libdaplscm.so mv_dapl.1.2 "ib3 0" ""


the names of the dapl providers are:
OpenIB-cma: default that uses cma
OpenIB-scm: default that uses scm
OpenIB-ZX-Y: uses device X (X is the index) , and port Y that connect using Z (cma or scm)
OpenIB-Z-netdevX : uses netdevice X (X in the index) that connect using Z (cma or scm)

is this file is good enough or more dapl provider names are needed?
Dotan



More information about the general mailing list