> 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. _______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
