[openib-general] Re: [uDAPL] dat.conf generator
James Lentini
jlentini at netapp.com
Wed Apr 12 07:50:10 PDT 2006
On Wed, 12 Apr 2006, Dotan Barak wrote:
> 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?
You've covered all the standard combinations. Why did you include the
OpenIB-Z-netdevX entries? Why would a user prefer netdevX over ethY?
Just curious.
If you are willing to contribute this back to the uDAPL project, I'm
sure the uDAPL community would find it very useful.
More information about the general
mailing list