diff options
author | Michael Brown <mcb30@etherboot.org> | 2009-08-02 22:57:01 +0100 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2009-08-06 01:24:18 +0100 |
commit | b0c563824b40240b223721ad0658e79946df27cc (patch) | |
tree | a375ff568ff3a6431ff1960faa9f67f7085440e2 /src/include/gpxe/infiniband.h | |
parent | 1f7d5502469d4814912c9fe8977ac9a3d8b03660 (diff) | |
download | ipxe-b0c563824b40240b223721ad0658e79946df27cc.tar.gz |
[infiniband] Change IB_{QPN,QKEY,QPT} names from {SMA,GMA} to {SMI,GSI}
The IBA specification refers to management "interfaces" and "agents".
The interface is the component that connects to the queue pair and
sends and receives MADs; the agent is the component that constructs
the reply to the MAD.
Rename the IB_{QPN,QKEY,QPT} constants as a first step towards making
this separation in gPXE.
Diffstat (limited to 'src/include/gpxe/infiniband.h')
-rw-r--r-- | src/include/gpxe/infiniband.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/include/gpxe/infiniband.h b/src/include/gpxe/infiniband.h index b6139ddd6..2581b17bc 100644 --- a/src/include/gpxe/infiniband.h +++ b/src/include/gpxe/infiniband.h @@ -15,17 +15,17 @@ FILE_LICENCE ( GPL2_OR_LATER ); #include <gpxe/ib_packet.h> #include <gpxe/ib_mad.h> -/** Subnet management QPN */ -#define IB_QPN_SMA 0 +/** Subnet management interface QPN */ +#define IB_QPN_SMI 0 -/** Subnet management queue key */ -#define IB_QKEY_SMA 0 +/** Subnet management interface queue key */ +#define IB_QKEY_SMI 0 -/** General management QPN */ -#define IB_QPN_GMA 1 +/** General service interface QPN */ +#define IB_QPN_GSI 1 -/** General management queue key */ -#define IB_QKEY_GMA 0x80010000UL +/** General service interface queue key */ +#define IB_QKEY_GSI 0x80010000UL /** Broadcast QPN */ #define IB_QPN_BROADCAST 0xffffffUL @@ -124,8 +124,8 @@ struct ib_multicast_gid { /** An Infiniband queue pair type */ enum ib_queue_pair_type { - IB_QPT_SMA, - IB_QPT_GMA, + IB_QPT_SMI, + IB_QPT_GSI, IB_QPT_UD, IB_QPT_RC, }; |