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

Michael S. Tsirkin mst at mellanox.co.il
Wed Apr 26 11:54:42 PDT 2006


Quoting r. Sean Hefty <sean.hefty at intel.com>:
> 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.

> 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?

-- 
MST



More information about the general mailing list