[openib-general] Re: [RFC] [PATCH 1/3] RDMA CM: addrdma_get/set_optioncalls to get/set path records

Sean Hefty mshefty at ichips.intel.com
Wed Apr 26 12:05:39 PDT 2006


Michael S. Tsirkin wrote:
>>Sockets provides setsockopt/getsockopt calls, and there is an attempt here to
>>emulate sockets.
> 
> Maybe we should create a socket instead of a char device in ucma?
> Then we get bind/listen/connect/accept for free.

This sounds worth considering.  I'm not sure what it would take to do it without 
looking into it more though.

>>These calls provide a very simple way to extend functionality
>>without needing to modify the user to kernel transition code with every feature.
> 
> 
> How? Any new option extends the user to kernel transition code anyway. No?

The new options would need to be added to the library header file.  The library 
source file and ucma module wouldn't change.  The kernel would need to add the 
actual implementation.

- Sean



More information about the general mailing list