[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 00:38:31 PDT 2006


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




More information about the general mailing list