[openib-general] port num in port priv
Hal Rosenstock
halr at voltaire.com
Thu Feb 9 15:06:29 PST 2006
On Thu, 2006-02-09 at 17:56, Suresh Shelvapille wrote:
> >
> > Unfortunately the sysfs PMA counters support will not be that useful,
> > since it will only show counters for port 0; but that's a different issue.
> >
> > - R.
> [SS] That's a bummer, so don't we need to create as many file descriptors as
> the number of physical ports on a switch, so that we can gather different
> port related stats from the device locally (not talking about subnet manager
> queries)!
The PMA counters are gathered by a tool named perfquery. Port number is
in the PortSelect component of the PMA attribute. You can't get PMA
counters until the port is active.
-- Hal
More information about the general
mailing list