[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.
This commit is contained in:
Michael Brown
2009-08-02 22:57:01 +01:00
parent 1f7d550246
commit b0c563824b
5 changed files with 30 additions and 30 deletions

View File

@@ -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,
};