xref: /titanic_52/usr/src/uts/common/sys/ib/clients/rdsv3/rdma_transport.h (revision 16e76cdd6e3cfaac7d91c3b0644ee1bc6cf52347)
1 /*
2  * This file contains definitions imported from the OFED rds header
3  * rdma_transport.h. Oracle elects to have and use the contents of
4  * rdma_transport.h under and governed by the OpenIB.org BSD license.
5  */
6 
7 /*
8  * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
9  */
10 
11 #ifndef _RDSV3_RDMA_TRANSPORT_H
12 #define	_RDSV3_RDMA_TRANSPORT_H
13 
14 #include "rdsv3.h"
15 
16 #define	RDSV3_RDMA_RESOLVE_TIMEOUT_MS	5000
17 
18 int rdsv3_rdma_cm_event_handler(struct rdma_cm_id *cm_id,
19     struct rdma_cm_event *event);
20 
21 /* from rdma_transport.c */
22 void rdsv3_rdma_init();
23 void rdsv3_rdma_exit(void *);
24 
25 /* from ib.c */
26 extern struct rdsv3_transport rdsv3_ib_transport;
27 int rdsv3_ib_init(void);
28 void rdsv3_ib_exit(void);
29 
30 #endif /* _RDSV3_RDMA_TRANSPORT_H */
31