From patchwork Tue Mar 9 10:37:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yevgeny Kliteynik X-Patchwork-Id: 84261 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o29AbxSp001699 for ; Tue, 9 Mar 2010 10:37:59 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752671Ab0CIKh7 (ORCPT ); Tue, 9 Mar 2010 05:37:59 -0500 Received: from mail.mellanox.co.il ([194.90.237.43]:44704 "EHLO mellanox.co.il" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751024Ab0CIKh6 (ORCPT ); Tue, 9 Mar 2010 05:37:58 -0500 Received: from Internal Mail-Server by MTLPINE1 (envelope-from kliteyn@dev.mellanox.co.il) with SMTP; 9 Mar 2010 12:37:49 +0200 Received: from [10.4.1.29] ([10.4.1.29]) by mtlexch01.mtl.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 9 Mar 2010 12:37:48 +0200 Message-ID: <4B9624F2.1000507@dev.mellanox.co.il> Date: Tue, 09 Mar 2010 12:37:38 +0200 From: Yevgeny Kliteynik User-Agent: Thunderbird 1.5.0.5 (X11/20060719) MIME-Version: 1.0 To: Sasha Khapyorsky , Sasha Khapyorsky CC: Linux RDMA Subject: infiniband-diags/ibstatus: add link_layer for RoCEE support X-OriginalArrivalTime: 09 Mar 2010 10:37:48.0540 (UTC) FILETIME=[8FEF0BC0:01CABF74] X-TM-AS-Product-Ver: SMEX-8.0.0.1181-6.000.1038-17238.005 X-TM-AS-Result: No--4.851600-8.000000-31 X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 09 Mar 2010 10:38:00 +0000 (UTC) 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 }