]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: add support for rdma_migrate_id()
authorSean Hefty <sean.hefty@intel.com>
Wed, 14 Nov 2007 08:29:50 +0000 (00:29 -0800)
committerRoland Dreier <rolandd@cisco.com>
Fri, 25 Jan 2008 22:15:32 +0000 (14:15 -0800)
commit31d9d9a4fd723898bfbb7a292985054c108ce3c0
tree951aad1d512d0ac0fce5bfd6189e7ed1fbd84e71
parent9a3809ecfb17c4058b264211e440479b6c28300e
RDMA/cma: add support for rdma_migrate_id()

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: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/core/ucma.c
include/rdma/rdma_user_cm.h