diff options
author | Michael Brown | 2009-08-02 23:57:01 +0200 |
---|---|---|
committer | Michael Brown | 2009-08-06 02:24:18 +0200 |
commit | b0c563824b40240b223721ad0658e79946df27cc (patch) | |
tree | a375ff568ff3a6431ff1960faa9f67f7085440e2 /src/net/infiniband/ib_packet.c | |
parent | [build] Mark __intel_new_proc_init with __libgcc rather than cdecl (diff) | |
download | ipxe-b0c563824b40240b223721ad0658e79946df27cc.tar.gz ipxe-b0c563824b40240b223721ad0658e79946df27cc.tar.xz ipxe-b0c563824b40240b223721ad0658e79946df27cc.zip |
[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/net/infiniband/ib_packet.c')
-rw-r--r-- | src/net/infiniband/ib_packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/infiniband/ib_packet.c b/src/net/infiniband/ib_packet.c index 42ff3499..08820ef3 100644 --- a/src/net/infiniband/ib_packet.c +++ b/src/net/infiniband/ib_packet.c @@ -76,7 +76,7 @@ int ib_push ( struct ib_device *ibdev, struct io_buffer *iobuf, lrh_len = ( payload_len + iob_len ( iobuf ) - orig_iob_len ); /* Construct LRH */ - vl = ( ( qp->ext_qpn == IB_QPN_SMA ) ? IB_VL_SMP : IB_VL_DEFAULT ); + vl = ( ( qp->ext_qpn == IB_QPN_SMI ) ? IB_VL_SMP : IB_VL_DEFAULT ); lrh->vl__lver = ( vl << 4 ); lnh = ( grh ? IB_LNH_GRH : IB_LNH_BTH ); lrh->sl__lnh = ( ( av->sl << 4 ) | lnh ); |