Following the comments from the initial version, this patch series first exports a generic libibmad api to issue query and reset on performance counters and then implements PortXmtDataSL and PortRcvDataSL. Or.