• Sean Hefty's avatar
    RDMA/cma: add support for rdma_migrate_id() · 88314e4d
    Sean Hefty authored
    This is based on user feedback from Doug Ledford at RedHat:
    
    Events that occur on an rdma_cm_id are reported to userspace through an
    event channel.  Connection request events are reported on the event
    channel associated with the listen.  When the connection is accepted, a
    new rdma_cm_id is created and automatically uses the listen event
    channel.  This is suboptimal where the user only wants listen events on
    that channel.
    
    Additionally, it may be desirable to have events related to connection
    establishment use a different event channel than those related to
    already established connections.
    
    Allow the user to migrate an rdma_cm_id between event channels. All
    pending events associated with the rdma_cm_id are moved to the new event
    channel.
    Signed-off-by: default avatarSean Hefty <sean.hefty@intel.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    88314e4d
rdma_user_cm.h 4.82 KB