summaryrefslogtreecommitdiffstats
path: root/src/net/infiniband/ib_packet.c
diff options
context:
space:
mode:
authorMichael Brown2010-09-15 20:25:05 +0200
committerMichael Brown2010-09-15 20:25:05 +0200
commit52e54a8c69351ee1455f8fbf2a9cd5d27d42f7ab (patch)
treed8b88315c25088f824ee97b0b0faf4945311445a /src/net/infiniband/ib_packet.c
parent[e1000] Strip the Ethernet CRC from received packets (diff)
downloadipxe-52e54a8c69351ee1455f8fbf2a9cd5d27d42f7ab.tar.gz
ipxe-52e54a8c69351ee1455f8fbf2a9cd5d27d42f7ab.tar.xz
ipxe-52e54a8c69351ee1455f8fbf2a9cd5d27d42f7ab.zip
[infiniband] Match GID/GUID terminology as used in the IBA
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/net/infiniband/ib_packet.c')
-rw-r--r--src/net/infiniband/ib_packet.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/net/infiniband/ib_packet.c b/src/net/infiniband/ib_packet.c
index 943f39571..d58e0ad4b 100644
--- a/src/net/infiniband/ib_packet.c
+++ b/src/net/infiniband/ib_packet.c
@@ -215,11 +215,8 @@ int ib_pull ( struct ib_device *ibdev, struct io_buffer *iobuf,
if ( IB_LID_MULTICAST ( lid ) && grh ) {
if ( ! ( *qp = ib_find_qp_mgid ( ibdev, &grh->dgid ))){
DBGC ( ibdev, "IBDEV %p RX for unknown MGID "
- "%08x:%08x:%08x:%08x\n", ibdev,
- ntohl ( grh->dgid.u.dwords[0] ),
- ntohl ( grh->dgid.u.dwords[1] ),
- ntohl ( grh->dgid.u.dwords[2] ),
- ntohl ( grh->dgid.u.dwords[3] ) );
+ IB_GID_FMT "\n",
+ ibdev, IB_GID_ARGS ( &grh->dgid ) );
return -ENODEV;
}
} else {