Hi Sasha,

On Sun, Aug 30, 2009 at 6:36 AM, Sasha Khapyorsky <[email protected]>wrote:

<snip...>


> > @@ -878,6 +950,12 @@ static void make_geometry(lash_t *p_lash, int sw)
> >                       n = s1->node->num_links;
> >
> >                       /*
> > +                      * ignore chain fragments
> > +                      */
> > +                     if (n < seed->node->num_links && n <= 2)
> > +                             continue;
> > +
> > +                     /*
> >                        * only process 'mesh' switches
> >                        */
> >                       if (!s1->node->matrix)
> > @@ -908,7 +986,8 @@ static void make_geometry(lash_t *p_lash, int sw)
> >                                       if (j == i)
> >                                               continue;
> >
> > -                                     if (s1->node->matrix[i][j] != 2) {
> > +                                     if (s1->node->matrix[i][j] != 2 &&
> > +                                             s1->node->matrix[i][j] <=
> 4) {
>
> What does this ' <= 4' check?
>
It's to rule out opposite nodes when distance is greater than 4. I've added
a comment to the next version of the patch for this.

-- Hal
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to