RDMA/core: Document CM @event_handler function
authorChuck Lever <chuck.lever@oracle.com>
Tue, 4 Sep 2018 15:45:14 +0000 (11:45 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 11 Sep 2018 15:21:36 +0000 (09:21 -0600)
commit4269024639f6ff9a1967c4bfa5a2ba7d9853384a
treedcf92dc11bc62b23deb07b0ef0738e2b62acd5fd
parent273993509f05623934dda14a56237738149b2906
RDMA/core: Document CM @event_handler function

Code audit suggests that the RDMA CM event handler callback function is
_always_ invoked in a context that is safe to block. That's important for
consumer implementers to know, so document that in the comment before
rdma_create_id (where the handler function is set up by the consumer).

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/rdma_cm.h