[infiniband] Add a "communication-managed reliable connection" protocol

SRP over Infiniband uses a protocol whereby data is sent via a
combination of the CM private data fields and the RC queue pair
itself.  This seems sufficiently generic that it's worth having
available as a separate protocol.
This commit is contained in:
Michael Brown
2009-08-09 11:05:21 +01:00
parent 1175f0cf29
commit 4be11f523c
3 changed files with 456 additions and 0 deletions

View File

@@ -153,6 +153,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
#define ERRFILE_ib_cm ( ERRFILE_NET | 0x001e0000 )
#define ERRFILE_net80211 ( ERRFILE_NET | 0x001f0000 )
#define ERRFILE_ib_mi ( ERRFILE_NET | 0x00200000 )
#define ERRFILE_ib_cmrc ( ERRFILE_NET | 0x00210000 )
#define ERRFILE_image ( ERRFILE_IMAGE | 0x00000000 )
#define ERRFILE_elf ( ERRFILE_IMAGE | 0x00010000 )

View File

@@ -0,0 +1,20 @@
#ifndef _GPXE_IB_CMRC_H
#define _GPXE_IB_CMRC_H
/** @file
*
* Infiniband Communication-managed Reliable Connections
*
*/
FILE_LICENCE ( BSD2 );
#include <gpxe/infiniband.h>
#include <gpxe/xfer.h>
extern int ib_cmrc_open ( struct xfer_interface *xfer,
struct ib_device *ibdev,
struct ib_gid *dgid,
struct ib_gid_half *service_id );
#endif /* _GPXE_IB_CMRC_H */