]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
rdma/ucm: support querying for AF_IB addresses
authorSean Hefty <sean.hefty@intel.com>
Wed, 7 Apr 2010 00:22:37 +0000 (17:22 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 7 Apr 2010 00:22:37 +0000 (17:22 -0700)
commit0257cc9298aa70c4bfc1a8c393f970375a897825
tree40ab95a15a3e5a8f608665bbdd067f061d41ae58
parentd7a4519d30d517614f406fd589bd688c66e3ae1a
rdma/ucm: support querying for AF_IB addresses

The sockaddr structure for AF_IB is larger than sockaddr_in6.
The rdma cm user space ABI uses the latter to exchange address
information between user space and the kernel.

To support querying for larger addresses, define a new query
command that exchanges data using sockaddr_storage, rather
than sockaddr_in6.  Unlike the existing query_route command,
the new command only returns address information.  Route
(i.e. path record) data is separated.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
drivers/infiniband/core/ucma.c
include/rdma/rdma_user_cm.h