[openib-general] Re: [uDAPL] dat.conf generator
Dotan Barak
dotanb at mellanox.co.il
Sun Apr 23 04:29:27 PDT 2006
On Wednesday 19 April 2006 22:17, Arlin Davis 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.
but, what if one wants to work with the second ib I/F (or with the third)?
If in automatic way i will create a dat.conf that will have the following lines (on a machine with 2 HCAs, 2 port in each HCA):
OpenIB-cma u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib0 0" ""
OpenIB-cma0 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib0 0" ""
OpenIB-cma1 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib1 0" ""
OpenIB-cma2 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib2 0" ""
OpenIB-cma3 u1.2 nonthreadsafe default /usr/lib/libdaplcma.so mv_dapl.1.2 "ib3 0" ""
In this file, there is a dapl provider name for every IPoIB I/F, and still there is a default entry (the first I/F).
Is this is usefull?
Dotan
More information about the general
mailing list