projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4269024
)
RDMA/core: Document QP @event_handler function
author
Chuck Lever
<chuck.lever@oracle.com>
Tue, 4 Sep 2018 15:45:20 +0000
(11:45 -0400)
committer
Jason Gunthorpe
<jgg@mellanox.com>
Tue, 11 Sep 2018 15:21:36 +0000
(09:21 -0600)
Add helpful warning for RDMA consumer implementers.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/rdma/ib_verbs.h
patch
|
blob
|
history
diff --git
a/include/rdma/ib_verbs.h
b/include/rdma/ib_verbs.h
index
995f176
..
f687faa
100644
(file)
--- a/
include/rdma/ib_verbs.h
+++ b/
include/rdma/ib_verbs.h
@@
-1138,7
+1138,9
@@
enum ib_qp_create_flags {
*/
struct ib_qp_init_attr {
+ /* Consumer's event_handler callback must not block */
void (*event_handler)(struct ib_event *, void *);
+
void *qp_context;
struct ib_cq *send_cq;
struct ib_cq *recv_cq;