From patchwork Wed Jul 31 12:42:03 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hal Rosenstock X-Patchwork-Id: 2836221 X-Patchwork-Delegate: hal@mellanox.com Return-Path: X-Original-To: patchwork-linux-rdma@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id BBF009F9C8 for ; Wed, 31 Jul 2013 12:42:12 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 1328620212 for ; Wed, 31 Jul 2013 12:42:11 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id AAC6720207 for ; Wed, 31 Jul 2013 12:42:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751968Ab3GaMmI (ORCPT ); Wed, 31 Jul 2013 08:42:08 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:59673 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751913Ab3GaMmH (ORCPT ); Wed, 31 Jul 2013 08:42:07 -0400 Received: by mail-wg0-f44.google.com with SMTP id l18so544077wgh.23 for ; Wed, 31 Jul 2013 05:42:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding:x-gm-message-state; bh=PbLk44PP4Lg6pA4Z10J/rsieZr9RDDpn9znLiDtLxNk=; b=UgIZSrzwb8cxc2zgVSRbYi0b9pmBVp4QOSvk8XuhAClHTciZ+yNg8BqpYEkt3z8J8G HmU8ep29cLOxwqAOwb/SFTXvigxEbFALfdn9LCaz1jmUV5nrpzOG5Ga7hNP7c216HNu/ pDigr6iI6Ci1f2a0yVqqI/3so+ILu1d52WP0/v1Gbpj8Ik7pOGWCcRB1lgBKo3DT53Et 6xbS1AcWKdo7cgONWBJp+YdfWYqlntuWPi7R9eWsAl2R/jglILc4r5fPNcEVoLqewcVD DXYqv7/ZPWN4Zo2EHWEe6bTfeyUqob83u+9NFRzq6pQddqB+/g18bLum1CmCkCyK6anB 9HOg== X-Received: by 10.194.122.103 with SMTP id lr7mr49753245wjb.15.1375274525881; Wed, 31 Jul 2013 05:42:05 -0700 (PDT) Received: from [192.168.1.102] (c-71-234-225-85.hsd1.ct.comcast.net. [71.234.225.85]) by mx.google.com with ESMTPSA id z2sm2103143wiv.11.2013.07.31.05.42.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 31 Jul 2013 05:42:05 -0700 (PDT) Message-ID: <51F9061B.4030009@dev.mellanox.co.il> Date: Wed, 31 Jul 2013 08:42:03 -0400 From: Hal Rosenstock User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 MIME-Version: 1.0 To: "linux-rdma (linux-rdma@vger.kernel.org)" CC: Daniel Klein Subject: [PATCH opensm] update man page and usage explanation for --lfts_file X-Gm-Message-State: ALoCoQkon85YwUd0DPLR/dbSHBFswk/Fv2rOeKaEfjM3/HaiyZVNjwQ7Bccj3dPEFHBi9IX+5ONQ Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Spam-Status: No, score=-8.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Daniel Klein Add explanation that --lfts_file is relevant when using 'file' routing engine. Signed-off-by: Daniel Klein --- man/opensm.8.in | 3 ++- opensm/main.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) " This option specifies the name of the SA DB dump file\n" " from where SA database will be loaded.\n\n"); diff --git a/man/opensm.8.in b/man/opensm.8.in index aa4a34b..d689230 100644 --- a/man/opensm.8.in +++ b/man/opensm.8.in @@ -204,7 +204,8 @@ loaded. .TP \fB\-U\fR, \fB\-\-lfts_file\fR This option specifies the name of the LFTs file -from where switch forwarding tables will be loaded. +from where switch forwarding tables will be loaded when using "file" routing +engine. .TP \fB\-S\fR, \fB\-\-sadb_file\fR This option specifies the name of the SA DB dump file diff --git a/opensm/main.c b/opensm/main.c index 74dd24f..1c8ce4c 100644 --- a/opensm/main.c +++ b/opensm/main.c @@ -217,7 +217,8 @@ static void show_usage(void) " loaded.\n\n"); printf("--lfts_file, -U \n" " This option specifies the name of the LFTs file\n" - " from where switch forwarding tables will be loaded.\n\n"); + " from where switch forwarding tables will be loaded when using \"file\"\n" + " routing engine.\n\n"); printf("--sadb_file, -S \n"