[openib-general] Re: [RFC] userspace CM/verbs QP

Sean Hefty mshefty at ichips.intel.com
Tue Mar 8 10:51:49 PST 2005


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



More information about the general mailing list