diff mbox

infiniband-diags/ibstatus: add link_layer for RoCEE support

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

Commit Message

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

Patch

diff --git a/infiniband-diags/scripts/ibstatus b/infiniband-diags/scripts/ibstatus
index 87fbb0c..f7fbbc2 100755
--- a/infiniband-diags/scripts/ibstatus
+++ b/infiniband-diags/scripts/ibstatus
@@ -31,6 +31,7 @@  port_status() {
 	echo "	state:		" `[ -r $port_dir/state ] && cat $port_dir/state || echo unknown`
 	echo "	phys state:	" `[ -r $port_dir/phys_state ] && cat $port_dir/phys_state || echo unknown`
 	echo "	rate:		" `[ -r $port_dir/rate ] && cat $port_dir/rate || echo unknown`
+	echo "	link_layer:	" `[ -r $port_dir/link_layer ] && cat $port_dir/link_layer || echo IB`
 	echo
 }