From b0c563824b40240b223721ad0658e79946df27cc Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sun, 2 Aug 2009 22:57:01 +0100 Subject: [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. --- src/include/gpxe/infiniband.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'src/include') 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 #include -/** 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, }; -- cgit v1.2.3-55-g7522