Re: [Patch infiniband-diags:perfquery] Loop through all local HCAs/ports

2011-08-09 Thread Ira Weiny
On Sat, 30 Jul 2011 07:11:16 -0700 Doug Ledford wrote: > On 7/29/2011 6:26 PM, Jason Gunthorpe wrote: > >>> Not sure what I think of this, is dumping counters on all local HCA > >>> ports really that interesting? Would this be better done by doing > >>> something fancy with nodeGUID so at least a

Re: [Patch infiniband-diags:perfquery] Loop through all local HCAs/ports

2011-07-30 Thread Doug Ledford
On 7/29/2011 6:26 PM, Jason Gunthorpe wrote: >>> Not sure what I think of this, is dumping counters on all local HCA >>> ports really that interesting? Would this be better done by doing >>> something fancy with nodeGUID so at least all ports on remote HCAs can >>> be dumped too? >> >> The request

Re: [Patch infiniband-diags:perfquery] Loop through all local HCAs/ports

2011-07-29 Thread Jason Gunthorpe
On Fri, Jul 29, 2011 at 06:14:07PM -0400, Doug Ledford wrote: > On 07/29/2011 06:09 PM, Jason Gunthorpe wrote: > >On Fri, Jul 29, 2011 at 05:57:57PM -0400, Doug Ledford wrote: > >>The -a mode of perfquery is intended to loop through all ports on a > >>single HCA and provide aggregated output across

Re: [Patch infiniband-diags:perfquery] Loop through all local HCAs/ports

2011-07-29 Thread Doug Ledford
On 07/29/2011 06:09 PM, Jason Gunthorpe wrote: On Fri, Jul 29, 2011 at 05:57:57PM -0400, Doug Ledford wrote: The -a mode of perfquery is intended to loop through all ports on a single HCA and provide aggregated output across all ports. The -l mode is intended to loop through all ports of a sing

Re: [Patch infiniband-diags:perfquery] Loop through all local HCAs/ports

2011-07-29 Thread Jason Gunthorpe
On Fri, Jul 29, 2011 at 05:57:57PM -0400, Doug Ledford wrote: > The -a mode of perfquery is intended to loop through all ports on a > single HCA and provide aggregated output across all ports. > > The -l mode is intended to loop through all ports of a single HCA > and output non-aggregated data.

Re: [Patch infiniband-diags:perfquery] Loop through all local HCAs/ports

2011-07-29 Thread Doug Ledford
On 07/29/2011 05:57 PM, Doug Ledford wrote: + if (umad_get_ca(name_list[cur_name], &ca)) + /* We're done, the next name was +* empty, just exit gracefully +

[Patch infiniband-diags:perfquery] Loop through all local HCAs/ports

2011-07-29 Thread Doug Ledford
The -a mode of perfquery is intended to loop through all ports on a single HCA and provide aggregated output across all ports. The -l mode is intended to loop through all ports of a single HCA and output non-aggregated data. Neither mode addresses a machine with more than one HCA. Furthermor