[infiniband] Add Communication Manager (CM)

The Communication Manager is responsible for handling the setup and
teardown of RC connections.
This commit is contained in:
Michael Brown
2009-07-17 23:06:35 +01:00
parent c939bc57ff
commit cc2e767b5a
4 changed files with 524 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
#ifndef _GPXE_IB_CM_H
#define _GPXE_IB_CM_H
/** @file
*
* Infiniband communication management
*
*/
FILE_LICENCE ( GPL2_OR_LATER );
#include <gpxe/infiniband.h>
extern int ib_cm_connect ( struct ib_queue_pair *qp, struct ib_gid *dgid,
struct ib_gid_half *service_id,
void *private_data, size_t private_data_len,
void ( * notify ) ( struct ib_queue_pair *qp,
int rc, void *private_data,
size_t private_data_len ) );
#endif /* _GPXE_IB_CM_H */