[openib-general] Proposed device enumeration & async event APIs

Roland Dreier roland at topspin.com
Sun Sep 12 13:04:47 PDT 2004


    Michael> Am I right that you need the ib core loaded always (in a
    Michael> way similiar to how you need ip core loaded always) and
    Michael> then ulps plug in from above and devices from below?

Yes (or it could be loaded based on module dependencies when hotplug
loads the first low-level driver).

    Michael> I'm still not sure how ULPs are loaded on a hotplug event
    Michael> when a device is added, though.

No need -- you can load the ULP before any devices are present (its
add() method will get called when low-level drivers create devices).
Or one could add /etc/hotplug/infiniband.agent or something like that
to do any initialization required.

 - R.



More information about the general mailing list