[openib-general] Re: [PATCH 3/3] librdmacm: add ability to get/set transport specific options
Jack Morgenstein
jackm at mellanox.co.il
Wed May 10 06:29:33 PDT 2006
On Wednesday 10 May 2006 10:38, Jack Morgenstein wrote:
> On Wednesday 10 May 2006 10:17, Michael S. Tsirkin wrote:
> > Maybe just return -ENODATA? Then you don't need to modify any code ...
>
> Userspace rdma_get_option() will then also get -ENODATA. OK.
>
> We can, therefore, do the following:
> the dummy procedures in the dummy ib_local_sa.h file will
> return -ENODATA for all get operations and for ib_create_path_cursor(),
> and -ENOSYS for all set operations.
> Then, no changes will be needed (except for adding the dummy file
> ib_local_sa.h).
>
> Is this acceptable?
>
> - Jack
>
Oops, there are not set operations here (I evidently did not pay attention
that I was looking at ucma_ib.c). I'll just return -ENODATA for
ib_get_path_rec() and ib_create_path_cursor().
- Jack
More information about the general
mailing list