public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH/infiniband-diags] Fix ibdatacounters
@ 2011-03-22 22:11 Jason Gunthorpe
       [not found] ` <20110322221145.GB4954-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Jason Gunthorpe @ 2011-03-22 22:11 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Ira Weiny

Commit fb3b1e753d527faa08f863a55f7f8392fb01f2ed switched the call
to ibdatacounts with ibcheckerrs which breaks the point of the script,
put it back.

Signed-off-by: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
---
 scripts/ibdatacounters.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/ibdatacounters.in b/scripts/ibdatacounters.in
index 1abaaf2..8fad62e 100644
--- a/scripts/ibdatacounters.in
+++ b/scripts/ibdatacounters.in
@@ -85,7 +85,7 @@ function check_node(lid, port)
 		print "\n# " ntype ": nodeguid 0x" nodeguid " failed"
 		return 1;
 	}
-	return system("'$IBPATH'/ibcheckerrs '"$ca_info"' '$gflags' '$verbose' '$brief' " lid " " port);
+	return system("'$IBPATH'/ibdatacounts '"$ca_info"' '$gflags' '$verbose' '$brief' " lid " " port);
 }
 
 /^Ca/ || /^Switch/ || /^Rt/ {
-- 
1.7.1

--
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] Fix ibdatacounters
       [not found] ` <20110322221145.GB4954-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
@ 2011-03-25  0:47   ` Ira Weiny
  0 siblings, 0 replies; 2+ messages in thread
From: Ira Weiny @ 2011-03-25  0:47 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Thanks, applied.
Ira

On Tue, 22 Mar 2011 15:11:45 -0700
Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org> wrote:

> Commit fb3b1e753d527faa08f863a55f7f8392fb01f2ed switched the call
> to ibdatacounts with ibcheckerrs which breaks the point of the script,
> put it back.
> 
> Signed-off-by: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
> ---
>  scripts/ibdatacounters.in |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/scripts/ibdatacounters.in b/scripts/ibdatacounters.in
> index 1abaaf2..8fad62e 100644
> --- a/scripts/ibdatacounters.in
> +++ b/scripts/ibdatacounters.in
> @@ -85,7 +85,7 @@ function check_node(lid, port)
>  		print "\n# " ntype ": nodeguid 0x" nodeguid " failed"
>  		return 1;
>  	}
> -	return system("'$IBPATH'/ibcheckerrs '"$ca_info"' '$gflags' '$verbose' '$brief' " lid " " port);
> +	return system("'$IBPATH'/ibdatacounts '"$ca_info"' '$gflags' '$verbose' '$brief' " lid " " port);
>  }
>  
>  /^Ca/ || /^Switch/ || /^Rt/ {
> -- 
> 1.7.1
> 


-- 
Ira Weiny
Math Programmer/Computer Scientist
Lawrence Livermore National Lab
925-423-8008
weiny2-i2BcT+NCU+M@public.gmane.org
--
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:[~2011-03-25  0:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-22 22:11 [PATCH/infiniband-diags] Fix ibdatacounters Jason Gunthorpe
     [not found] ` <20110322221145.GB4954-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2011-03-25  0:47   ` Ira Weiny

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