Hey Sasha,

And finally the big patch.  If -a is specified and AllPortSelect is not
supported (and -l isn't specified) loop through all ports and aggregate
them into one output.

So the patch is a tad lengthy given the manual packet parsing/counting
that had to be done.  I'm not aware of any libs/helper funcs in OFED
that could have made this code shorter.  Please let me know if there are
some obvious funcs that could make this better. 

Also, my understanding is that in IB, counters don't wrap around.  When
they get to the max they stay at the max.  So wrap-around checks for all
of the counters is there as I added things up.  Couldn't find some
wrapper funcs for this in OFED already.  So hopefully I'm not repeating
code.

Al

-- 
Albert Chu
[EMAIL PROTECTED]
Computer Scientist
High Performance Systems Division
Lawrence Livermore National Laboratory

_______________________________________________
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