• Sean Hefty's avatar
    RDMA/ucma: Support querying for AF_IB addresses · ee7aed45
    Sean Hefty authored
    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: default avatarSean Hefty <sean.hefty@intel.com>
    Signed-off-by: default avatarRoland Dreier <roland@purestorage.com>
    ee7aed45
rdma_user_cm.h 5.19 KB