[openib-general][RFC][PATCH] core/sysfs.c: ability to reset port	counters
    Roland Dreier 
    rdreier at cisco.com
       
    Tue May  9 09:29:35 PDT 2006
    
    
  
    Leonid>      we need a possibility to reset the port counters in
    Leonid> /sys/class/infiniband/mthca0/ports/1/counters/.
Why do you need this possibility?  Having counters reset locally is
going to confuse any performance manager running on the fabric that
might be reading the counters remotely.
Is it really a must for this to be done by writing to sysfs?  Couldn't
a trivial userspace app send a MAD locally to reset them?
 - R.
    
    
More information about the general
mailing list