mirror of
https://github.com/ipxe/ipxe
synced 2025-12-25 17:12:40 +03:00
[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:
@@ -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 )
|
||||
|
||||
20
src/include/gpxe/ib_cmrc.h
Normal file
20
src/include/gpxe/ib_cmrc.h
Normal 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 */
|
||||
Reference in New Issue
Block a user