Skip to content

Commit

Permalink
[infiniband] Add a "communication-managed reliable connection" protocol
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Michael Brown committed Aug 10, 2009
1 parent 1175f0c commit 4be11f5
Show file tree
Hide file tree
Showing 3 changed files with 456 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/include/gpxe/errfile.h
Expand Up @@ -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 )
Expand Down
20 changes: 20 additions & 0 deletions src/include/gpxe/ib_cmrc.h
@@ -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 */

0 comments on commit 4be11f5

Please sign in to comment.