[ofa-general] [PATCH-2.6.24 2/2] [RFC] ib/cm: add basic performance counters
Roland Dreier
rdreier at cisco.com
Tue Oct 2 10:54:46 PDT 2007
> 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.
I guess you need to move the creation of the class into the ib_cm
module (since ib_cm can be loaded without ib_user_cm), and then export
some methods for ib_user_cm to share it.
Dunno whether it's worth the trouble.
- R.
More information about the general
mailing list