Commit eb93c82e authored by Chuck Lever's avatar Chuck Lever Committed by Jason Gunthorpe

RDMA/core: Document QP @event_handler function

Add helpful warning for RDMA consumer implementers.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@mellanox.com>
parent 42690246
...@@ -1138,7 +1138,9 @@ enum ib_qp_create_flags { ...@@ -1138,7 +1138,9 @@ enum ib_qp_create_flags {
*/ */
struct ib_qp_init_attr { struct ib_qp_init_attr {
/* Consumer's event_handler callback must not block */
void (*event_handler)(struct ib_event *, void *); void (*event_handler)(struct ib_event *, void *);
void *qp_context; void *qp_context;
struct ib_cq *send_cq; struct ib_cq *send_cq;
struct ib_cq *recv_cq; struct ib_cq *recv_cq;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment