[infiniband] Add Communication Manager (CM)
[people/peper/gpxe.git] / src / include / gpxe / ib_cm.h
1 #ifndef _GPXE_IB_CM_H
2 #define _GPXE_IB_CM_H
3
4 /** @file
5  *
6  * Infiniband communication management
7  *
8  */
9
10 FILE_LICENCE ( GPL2_OR_LATER );
11
12 #include <gpxe/infiniband.h>
13
14 extern int ib_cm_connect ( struct ib_queue_pair *qp, struct ib_gid *dgid,
15                            struct ib_gid_half *service_id,
16                            void *private_data, size_t private_data_len,
17                            void ( * notify ) ( struct ib_queue_pair *qp,
18                                                int rc, void *private_data,
19                                                size_t private_data_len ) );
20
21 #endif /* _GPXE_IB_CM_H */