[openib-general] Re: device add/remove in userspace
Roland Dreier
rolandd at cisco.com
Mon Oct 24 11:26:18 PDT 2005
Sean> Is there a way for a userspace application to know if a
Sean> device has been added or removed?
Sean> I'm porting the CMA to userspace. One of the features of
Sean> the kernel CMA is that listen requests can span all devices,
Sean> with device add/remove handled automatically. I'd like to
Sean> expose similar functionality in userspace, but it appears
Sean> that the device list is built once when ibv_get_devices() is
Sean> called.
We don't really handle this right now. It could probably be made to
work on top of hotplug/udev/hal/something but it seems tricky to me.
- R.
More information about the general
mailing list