[openib-general] [PATCH] Re: uDAPL again

Aniruddha Bohra bohra at cs.rutgers.edu
Thu Nov 3 10:38:15 PST 2005


Aniruddha, can you apply the following patch and send us the output from 
your run?

Hi Arlin
    The log is at
http://www.cs.rutgers.edu/~bohra/dapl.log.

Hal, OpenSM is running on our subnet.

Aniruddha

>
> -arlin
>
> Signed-off by: Arlin Davis <ardavis at ichips.intel.com>
>
> Index: dapl/openib/dapl_ib_cm.c
> ===================================================================
> --- dapl/openib/dapl_ib_cm.c    (revision 3951)
> +++ dapl/openib/dapl_ib_cm.c    (working copy)
> @@ -136,14 +136,27 @@
>
>        dapl_dbg_log(DAPL_DBG_TYPE_CM,
>                " path_comp_handler: SRC GID subnet %016llx id %016llx\n",
> -               (unsigned long 
> long)cpu_to_be64(conn->dapl_rt.sgid.global.subnet_prefix),
> -               (unsigned long 
> long)cpu_to_be64(conn->dapl_rt.sgid.global.interface_id) );
> +               (unsigned long 
> long)cpu_to_be64(conn->dapl_path.sgid.global.subnet_prefix),
> +               (unsigned long 
> long)cpu_to_be64(conn->dapl_path.sgid.global.interface_id) );
>
>        dapl_dbg_log(DAPL_DBG_TYPE_CM,
>                " path_comp_handler: DST GID subnet %016llx id %016llx\n",
> -               (unsigned long 
> long)cpu_to_be64(conn->dapl_rt.dgid.global.subnet_prefix),
> -               (unsigned long 
> long)cpu_to_be64(conn->dapl_rt.dgid.global.interface_id) );
> +               (unsigned long 
> long)cpu_to_be64(conn->dapl_path.dgid.global.subnet_prefix),
> +               (unsigned long 
> long)cpu_to_be64(conn->dapl_path.dgid.global.interface_id) );
>
> +       dapl_dbg_log(DAPL_DBG_TYPE_CM,
> +               " path_comp_handler: slid %x dlid %x mtu %x(%x) 
> pktlife %x(%x)\n",
> +               ntohs(conn->dapl_path.slid), ntohs(conn->dapl_path.dlid),
> +               conn->dapl_path.mtu, conn->dapl_path.mtu_selector,
> +               conn->dapl_path.packet_life_time,
> +               conn->dapl_path.packet_life_time_selector );
> +
> +       dapl_dbg_log(DAPL_DBG_TYPE_CM,
> +               " path_comp_handler: hops %x npaths %x pkey %x tclass 
> %x rate %x(%x)\n",
> +               conn->dapl_path.hop_limit, conn->dapl_path.numb_path,
> +               conn->dapl_path.pkey, conn->dapl_path.traffic_class,
> +               conn->dapl_path.rate, conn->dapl_path.rate_selector);
> +
>        if (rec_num <= 0) {
>                dapl_dbg_log(DAPL_DBG_TYPE_CM,
>                             " path_comp_handler: ERR %d retry %d\n",
>
>
>




More information about the general mailing list