On Fri, Dec 11, 2015 at 07:23:13PM -0500, ira.weiny wrote: > On Fri, Dec 11, 2015 at 05:00:47PM -0700, Jason Gunthorpe wrote: > > > > FWIW, I also hate the sysfs counters that reflect the PMA, these would > > be much better are free running, wrapping, non-resetting counters > > unrelated to the PMA. Something that doesn't zero after the SM samples > > it. Sounds like qib, hif, rdmavt can trivially fix this, and should, IMHO. > > To be fair with a 64bit counter these are not going to get reset very often.
It resets when ever the SM sends a reset packet, so 'whenever' > Furthermore, I don't think we can change the behavior now. Sure we can, the restting is really a bug, to the point that nothing can actually use the sysfs counters reliably. Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
