http://git.etherboot.org
/
people
/
peper
/
gpxe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[infiniband] Change IB_{QPN,QKEY,QPT} names from {SMA,GMA} to {SMI,GSI}
[people/peper/gpxe.git]
/
src
/
net
/
infiniband.c
diff --git
a/src/net/infiniband.c
b/src/net/infiniband.c
index
96a663c
..
1677081
100644
(file)
--- a/
src/net/infiniband.c
+++ b/
src/net/infiniband.c
@@
-209,11
+209,11
@@
struct ib_queue_pair * ib_create_qp ( struct ib_device *ibdev,
/* Calculate externally-visible QPN */
switch ( type ) {
/* Calculate externally-visible QPN */
switch ( type ) {
- case IB_QPT_SM
A
:
- qp->ext_qpn = IB_QPN_SM
A
;
+ case IB_QPT_SM
I
:
+ qp->ext_qpn = IB_QPN_SM
I
;
break;
break;
- case IB_QPT_G
MA
:
- qp->ext_qpn = IB_QPN_G
MA
;
+ case IB_QPT_G
SI
:
+ qp->ext_qpn = IB_QPN_G
SI
;
break;
default:
qp->ext_qpn = qp->qpn;
break;
default:
qp->ext_qpn = qp->qpn;
@@
-535,7
+535,7
@@
int ib_open ( struct ib_device *ibdev ) {
}
/* Create subnet management agent */
}
/* Create subnet management agent */
- ibdev->sma = ib_create_gma ( ibdev, IB_QPT_SM
A
);
+ ibdev->sma = ib_create_gma ( ibdev, IB_QPT_SM
I
);
if ( ! ibdev->sma ) {
DBGC ( ibdev, "IBDEV %p could not create SMA\n", ibdev );
rc = -ENOMEM;
if ( ! ibdev->sma ) {
DBGC ( ibdev, "IBDEV %p could not create SMA\n", ibdev );
rc = -ENOMEM;
@@
-543,7
+543,7
@@
int ib_open ( struct ib_device *ibdev ) {
}
/* Create general management agent */
}
/* Create general management agent */
- ibdev->gma = ib_create_gma ( ibdev, IB_QPT_G
MA
);
+ ibdev->gma = ib_create_gma ( ibdev, IB_QPT_G
SI
);
if ( ! ibdev->gma ) {
DBGC ( ibdev, "IBDEV %p could not create GMA\n", ibdev );
rc = -ENOMEM;
if ( ! ibdev->gma ) {
DBGC ( ibdev, "IBDEV %p could not create GMA\n", ibdev );
rc = -ENOMEM;