]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdb71b79f25cec73d7b817703b9557dbd62bd4afa
treedcf92dc11bc62b23deb07b0ef0738e2b62acd5fd
parent1e8b5caa1e97037bde4193a3bfe4e2603e0c4028
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