mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-15 23:36:40 +07:00
RDMA/core: Document QP @event_handler function
Add helpful warning for RDMA consumer implementers. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:
parent
4269024639
commit
eb93c82ed8
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user