Agreed. In any case, I am convinced debug stuff must go away from sysfs. debugfs is one good idea. Since I was building also for older kernels, IB netlink infrastructure was not an option yet. Let me look into IB netlink.
many thanks, Bernard. [email protected] wrote on 06/19/2011 07:04:23 AM: > Bernard Metzler wrote: > > > +/sys/class/infiniband/siw*/stats: > > + Summary of allocated WQE's, PD's, QP's, CQ's, SRQ's, MR's, CEP's. > > + WQE statistics are not gathered if 'DPRINT_MASK' is set to '0' > > +/sys/class/infiniband/siw*/qp: > > + Summary of allocated queue pairs. If queue pairs are allocated, > > + after reading 'qp' a more detailed status of all queue pairs has > > +/sys/class/infiniband/siw*/cep: > > + Summary of allocated connection end points. If connection endpoints > > + are allocated, after reading 'cep' a more detailed status of all > > + CEP's is printed to the kernel syslog and can be retrieved via > > any reason not to use the IB stack netlink infrastructure to support > these counters? > -- > 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 -- 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
