Hal: The way I gather port stats locally on my device is by doing a "cat" on the "/sys/class/Infiniband/mysw/port/0/counters" file. As Roland mentioned this is limited to port0 counters on a switch. If I need stats for port#N I need to expand this by providing more class attributes and getting to them that way....
I am not using user space verbs library, is there any other way to get at the different port#N stats? Thanks, Suri > 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 _______________________________________________ openib-general mailing list [email protected] http://openib.org/mailman/listinfo/openib-general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
