1RDMA_NOTIFY(3) Librdmacm Programmer's Manual RDMA_NOTIFY(3)
2
3
4
6 rdma_notify - Notifies the librdmacm of an asynchronous event.
7
9 #include <rdma/rdma_cma.h>
10
11 int rdma_notify (struct rdma_cm_id *id, enum ibv_event_type event);
12
14 id RDMA identifier.
15
16 event Asynchronous event.
17
19 Used to notify the librdmacm of asynchronous events that have occurred
20 on a QP associated with the rdma_cm_id.
21
23 Asynchronous events that occur on a QP are reported through the user's
24 device event handler. This routine is used to notify the librdmacm of
25 communication events. In most cases, use of this routine is not necesā
26 sary, however if connection establishment is done out of band (such as
27 done through Infiniband), it's possible to receive data on a QP that is
28 not yet considered connected. This routine forces the connection into
29 an established state in this case in order to handle the rare situation
30 where the connection never forms on its own. Events that should be
31 reported to the CM are: IB_EVENT_COMM_EST.
32
34 rdma_connect(3), rdma_accept(3), rdma_listen(3)
35
36
37
38librdmacm 2007-05-15 RDMA_NOTIFY(3)