Sean Hefty wrote:
Roland, do you have a preference for exposing the device_list and device_sem in device.c? I can put ib_get_cached_gid() directly in device.c, but that separates the caching functions. I could also change cache.c to maintain its own device list, which encapsulates the changes more, but duplicates the list.

Uhm... thinking about this more, I think that trying to provide this functionality from the cache exposes the potential for a client to access a device after its removal...


We can still make the changes to the CM API; it just requires that the CM maintain a list of devices that it can access.

- Sean
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to