public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] infiniband-diags/vendstat: Indicate general info for IS4 as well as IS3
@ 2010-02-10 14:32 Hal Rosenstock
       [not found] ` <20100210143205.GA11779-Wuw85uim5zDR7s880joybQ@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2010-02-10 14:32 UTC (permalink / raw)
  To: sashak-smomgflXvOZWk0Htik3J/w; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA


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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] infiniband-diags/vendstat: Indicate general info for IS4 as well as IS3
       [not found] ` <20100210143205.GA11779-Wuw85uim5zDR7s880joybQ@public.gmane.org>
@ 2010-02-11 14:46   ` Sasha Khapyorsky
  0 siblings, 0 replies; 2+ messages in thread
From: Sasha Khapyorsky @ 2010-02-11 14:46 UTC (permalink / raw)
  To: Hal Rosenstock; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 09:32 Wed 10 Feb     , Hal Rosenstock wrote:
> 
> Update both tool and man page for this
> Also, updated email address
> 
> Signed-off-by: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>

Applied. Thanks.

Sasha
--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-02-11 14:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-10 14:32 [PATCH] infiniband-diags/vendstat: Indicate general info for IS4 as well as IS3 Hal Rosenstock
     [not found] ` <20100210143205.GA11779-Wuw85uim5zDR7s880joybQ@public.gmane.org>
2010-02-11 14:46   ` Sasha Khapyorsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox