From: Hal Rosenstock <hnrose-Wuw85uim5zDR7s880joybQ@public.gmane.org>
To: sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] infiniband-diags/vendstat: Indicate general info for IS4 as well as IS3
Date: Wed, 10 Feb 2010 09:32:05 -0500 [thread overview]
Message-ID: <20100210143205.GA11779@comcast.net> (raw)
Update both tool and man page for this
Also, updated email address
Signed-off-by: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
diff --git a/infiniband-diags/man/vendstat.8 b/infiniband-diags/man/vendstat.8
index 76d0cfb..2a87f2b 100644
--- a/infiniband-diags/man/vendstat.8
+++ b/infiniband-diags/man/vendstat.8
@@ -1,4 +1,4 @@
-.TH VENDSTAT 8 "April 16, 2009" "OpenIB" "OpenIB Diagnostics"
+.TH VENDSTAT 8 "February 10, 2010" "OpenIB" "OpenIB Diagnostics"
.SH NAME
vendstat \- query InfiniBand vendor specific functions
@@ -20,7 +20,7 @@ Mellanox InfiniSwitch-III (IS3) and InfiniSwitch-IV (IS4).
.PP
.TP
\fB\-N\fR
-show IS3 general information.
+show IS3 or IS4 general information.
.TP
\fB\-w\fR
show IS3 port xmit wait counters.
@@ -97,7 +97,7 @@ attempted to be fulfilled, and will fail if it is not possible.
.SH EXAMPLES
.PP
-vendstat -N 6 # read IS3 general information
+vendstat -N 6 # read IS3 or IS4 general information
.PP
vendstat -w 6 # read IS3 port xmit wait counters
.PP
@@ -110,4 +110,4 @@ vendstat -c 2,8 6 12 # configure IS4 port 12 counter groups for PortRcvDataSL
.SH AUTHOR
.TP
Hal Rosenstock
-.RI < halr-smomgflXvOZWk0Htik3J/w@public.gmane.org >
+.RI < hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org >
diff --git a/infiniband-diags/src/vendstat.c b/infiniband-diags/src/vendstat.c
index aeb7b66..abff83a 100644
--- a/infiniband-diags/src/vendstat.c
+++ b/infiniband-diags/src/vendstat.c
@@ -240,7 +240,7 @@ int main(int argc, char **argv)
int i;
const struct ibdiag_opt opts[] = {
- {"N", 'N', 0, NULL, "show IS3 general information"},
+ {"N", 'N', 0, NULL, "show IS3 or IS4 general information"},
{"w", 'w', 0, NULL, "show IS3 port xmit wait counters"},
{"i", 'i', 0, NULL, "show IS4 counter group info"},
{"c", 'c', 1, "<num,num>", "configure IS4 counter groups"},
@@ -249,7 +249,7 @@ int main(int argc, char **argv)
char usage_args[] = "<lid|guid> [port]";
const char *usage_examples[] = {
- "-N 6\t\t# read IS3 general information",
+ "-N 6\t\t# read IS3 or IS4 general information",
"-w 6\t\t# read IS3 port xmit wait counters",
"-i 6 12\t# read IS4 port 12 counter group info",
"-c 0,1 6 12\t# configure IS4 port 12 counter groups for PortXmitDataSL",
@@ -317,7 +317,7 @@ int main(int argc, char **argv)
gi = (is3_general_info_t *) & buf;
if (general_info) {
- /* dump IS3 general info here */
+ /* dump IS3 or IS4 general info here */
printf("hw_dev_rev: 0x%04x\n", ntohs(gi->hw_info.hw_revision));
printf("hw_dev_id: 0x%04x\n", ntohs(gi->hw_info.device_id));
printf("hw_uptime: 0x%08x\n", ntohl(gi->hw_info.uptime));
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next reply other threads:[~2010-02-10 14:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-10 14:32 Hal Rosenstock [this message]
[not found] ` <20100210143205.GA11779-Wuw85uim5zDR7s880joybQ@public.gmane.org>
2010-02-11 14:46 ` [PATCH] infiniband-diags/vendstat: Indicate general info for IS4 as well as IS3 Sasha Khapyorsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100210143205.GA11779@comcast.net \
--to=hnrose-wuw85uim5zdr7s880joybq@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=sashak-smomgflXvOZWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.