[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-rdma
Subject:    [PATCH opensm] update man page and usage explanation for --lfts_file
From:       Hal Rosenstock <hal () dev ! mellanox ! co ! il>
Date:       2013-07-31 12:42:03
Message-ID: 51F9061B.4030009 () dev ! mellanox ! co ! il
[Download RAW message or body]


From: Daniel Klein <danielk@mellanox.com>

Add explanation that --lfts_file is relevant when using 'file' routing
engine.

Signed-off-by: Daniel Klein <danielk@mellanox.com>
---
 man/opensm.8.in | 3 ++-
 opensm/main.c   | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

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 <file name>
 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 <file name>
 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 <file name>\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 <file name>\n"
 	       "          This option specifies the name of the SA DB dump file\n"
 	       "          from where SA database will be loaded.\n\n");
-- 
1.7.11.3

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic