[ofa-general] [infiniband-diags] specify -l(loop_ports) in ibclearerrors and ibclearcounters

Al Chu chu11 at llnl.gov
Thu Oct 9 09:31:41 PDT 2008


Hey Hal,

On Wed, 2008-10-08 at 21:54 -0400, Hal Rosenstock wrote:
> Hi Al,
> 
> On Wed, Oct 8, 2008 at 8:40 PM, Al Chu <chu11 at llnl.gov> wrote:
> > Hey Sasha,
> >
> > Specifies the -l option in these respective scripts when they call
> > perfquery to clear counters/errors.  This is the core of why I
> > implemented the -l option in perfquery.  These two tools were failing in
> > a chunk of our switches.
> >
> > Note that these scripts specify -R (reset only) for perfquery, so there
> > aren't any issues with multiple perfquery outputs that may need to be
> > parsed multiple times/differently.
> 
> But this takes many more resets to work, right ? Why not have loop
> ports (for reset) only do this is all ports is not supported ?

I just re-read this sentence, now I get what you're asking.  I made --
loop_ports only loop if AllPortSelect isn't supported.  So if the
switches already support AllPortSelect, the number of resets should be
the same.

Al


> 
> -- Hal
> 
> >
> > Al
> >
> > --
> > Albert Chu
> > chu11 at llnl.gov
> > Computer Scientist
> > High Performance Systems Division
> > Lawrence Livermore National Laboratory
> >
> > _______________________________________________
> > general mailing list
> > general at lists.openfabrics.org
> > http:// lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> >
> > To unsubscribe, please visit http:// openib.org/mailman/listinfo/openib-general
> >
> 
-- 
Albert Chu
chu11 at llnl.gov
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory




More information about the general mailing list