diff mbox

infiniband-diags/ibstat.c: print link layer for RoCEE support

Message ID 4B9625CB.5040700@dev.mellanox.co.il (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Yevgeny Kliteynik March 9, 2010, 10:41 a.m. UTC
None
diff mbox

Patch

diff --git a/infiniband-diags/src/ibstat.c b/infiniband-diags/src/ibstat.c
index 987bf2b..c44d8c4 100644
--- a/infiniband-diags/src/ibstat.c
+++ b/infiniband-diags/src/ibstat.c
@@ -124,6 +124,7 @@  static int port_dump(umad_port_t * port, int alone)
 	printf("%sCapability mask: 0x%08x\n", pre, ntohl(port->capmask));
 	printf("%sPort GUID: 0x%016llx\n", pre,
 	       (long long unsigned)ntohll(port->port_guid));
+	printf("%sLink layer: %s\n", pre, port->link_layer);
 	return 0;
 }