From patchwork Tue Sep 14 15:10:16 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 179712 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8EF8P3c031371 for ; Tue, 14 Sep 2010 15:09:38 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752009Ab0INPJh (ORCPT ); Tue, 14 Sep 2010 11:09:37 -0400 Received: from qmta05.westchester.pa.mail.comcast.net ([76.96.62.48]:58927 "EHLO qmta05.westchester.pa.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751619Ab0INPJh (ORCPT ); Tue, 14 Sep 2010 11:09:37 -0400 Received: from omta12.westchester.pa.mail.comcast.net ([76.96.62.44]) by qmta05.westchester.pa.mail.comcast.net with comcast id 6aeA1f00C0xGWP855f9dzt; Tue, 14 Sep 2010 15:09:37 +0000 Received: from hal.comcast.net ([75.69.247.31]) by omta12.westchester.pa.mail.comcast.net with comcast id 6f9c1f0070hNrtn3Yf9cku; Tue, 14 Sep 2010 15:09:37 +0000 Received: from hal.comcast.net (localhost.localdomain [127.0.0.1]) by hal.comcast.net (8.14.3/8.14.3) with ESMTP id o8EFAbEx019651; Tue, 14 Sep 2010 11:10:43 -0400 Received: (from hnrose@localhost) by hal.comcast.net (8.14.3/8.14.3/Submit) id o8EFAGYc019620; Tue, 14 Sep 2010 11:10:16 -0400 Date: Tue, 14 Sep 2010 11:10:16 -0400 From: Hal Rosenstock To: sashak@voltaire.com Cc: linux-rdma@vger.kernel.org Subject: [PATCH] infiniband-diags/ibtracert: Eliminate direct route (-D) option Message-ID: <20100914151016.GA19615@comcast.net> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.19 (2009-01-05) 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 (demeter1.kernel.org [140.211.167.41]); Tue, 14 Sep 2010 15:09:38 +0000 (UTC) diff --git a/infiniband-diags/man/ibtracert.8 b/infiniband-diags/man/ibtracert.8 index 0628554..674db7e 100644 --- a/infiniband-diags/man/ibtracert.8 +++ b/infiniband-diags/man/ibtracert.8 @@ -1,14 +1,14 @@ -.TH IBTRACERT 8 "April 14, 2007" "OpenIB" "OpenIB Diagnostics" +.TH IBTRACERT 8 "September 14, 2010" "OpenIB" "OpenIB Diagnostics" .SH NAME ibtracert\- trace InfiniBand path .SH SYNOPSIS .B ibtracert -[\-d(ebug)] [-v(erbose)] [\-D(irect)] [\-G(uids)] [-n(o_info)] [-m mlid] +[\-d(ebug)] [-v(erbose)] [\-G(uids)] [-n(o_info)] [-m mlid] [-s smlid] [\-C ca_name] [\-P ca_port] [\-t(imeout) timeout_ms] [\-V(ersion)] [\-\-node\-name\-\-map ] [\-h(elp)] -[ [ []]] +[ [ []]] .SH DESCRIPTION .PP @@ -54,12 +54,6 @@ using the util_name -h syntax. # Addressing flags .PP -\-D use directed path address arguments. The path - is a comma separated list of out ports. - Examples: - "0" # self port - "0,1,2,1,4" # out via port 1, then 2, ... -.PP \-G use GUID address argument. In most cases, it is the Port GUID. Example: "0x08f1040023" @@ -108,7 +102,7 @@ ibtracert -m 0xc000 4 16 # show multicast path of mlid 0xc000 between lids 4 .SH AUTHOR .TP Hal Rosenstock -.RI < halr@voltaire.com > +.RI < hal.rosenstock@gmail.com> .TP Ira Weiny .RI < weiny2@llnl.gov > diff --git a/infiniband-diags/src/ibtracert.c b/infiniband-diags/src/ibtracert.c index 80694f2..9b563ab 100644 --- a/infiniband-diags/src/ibtracert.c +++ b/infiniband-diags/src/ibtracert.c @@ -1,6 +1,7 @@ /* * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. * Copyright (c) 2009 HNR Consulting. All rights reserved. + * Copyright (c) 2010 Mellanox Technologies LTD. All rights reserved. * * This software is available to you under a choice of one of two * licenses. You may choose to be licensed under the terms of the GNU @@ -749,7 +750,7 @@ int main(int argc, char **argv) NULL, }; - ibdiag_process_opts(argc, argv, NULL, NULL, opts, process_opt, + ibdiag_process_opts(argc, argv, NULL, "D", opts, process_opt, usage_args, usage_examples); f = stdout;