1RDMA_MIGRATE_ID(3) Librdmacm Programmer's Manual RDMA_MIGRATE_ID(3)
2
3
4
6 rdma_migrate_id - Move a communication identifer to a different event
7 channel.
8
10 #include <rdma/rdma_cma.h>
11
12 int rdma_migrate_id (struct rdma_cm_id *id, struct rdma_event_channel
13 *channel);
14
16 id An existing communication identifier to migrate.
17
18 channel The communication channel that events associated with the
19 allocated rdma_cm_id will be reported on. May be NULL.
20
22 Migrates a communication identifier to a different event channel.
23
25 Returns 0 on success, or -1 on error. If an error occurs, errno will
26 be set to indicate the failure reason.
27
29 This routine migrates a communication identifier to the specified event
30 channel and moves any pending events associated with the rdma_cm_id to
31 the new channel. Users should not poll for events on the rdma_cm_id's
32 current event channel or invoke other routines on the rdma_cm_id while
33 migrating between channels. This call will block while there are any
34 unacknowledged events on the current event channel.
35
36 If the channel parameter is NULL, the specified rdma_cm_id will be
37 placed into synchronous operation mode. All calls on the id will block
38 until the operation completes.
39
41 rdma_cm(7), rdma_create_event_channel(3), rdma_create_id(3),
42 rdma_get_cm_event(3)
43
44
45
46librdmacm 2007-11-13 RDMA_MIGRATE_ID(3)