[ofa-general] [PATCH-2.6.24 2/2] [RFC] ib/cm: add basic performance counters

Sean Hefty mshefty at ichips.intel.com
Wed Sep 26 16:56:52 PDT 2007


>  > The userspace IB CM is exported through /sys/class/infiniband_cm.
>  > Does anyone object to placing the counters under this same directory?
> 
> I think that would be fine, with the usual one-value-per-file sysfs rules.

Er, I could use some help here.  Is there a preferred way to share 
/sys/class/infiniband_cm between the ib_cm and ib_user_cm modules?

Currently, ib_user_cm registers the infiniband_cm class and registers 
devices (ucm0, ucm1, ...) on that class.  It ends up making use of the 
infiniband_cm class 'release' callback for this.  I want to make sure 
that I'm not overlooking some simple way of maintaining this while 
letting the ib_cm module stick statistics under it.

- Sean



More information about the general mailing list