Jason Gunthorpe <jguntho...@obsidianresearch.com> wrote:

> I don't mean the 32 bit counters are useless, I mean exposing PMA
> counters that saturate and can be randomly reset by external agents
> through sysfs is useless. You can't make any kind of data collection
> based on such a system.

> Ideally the sysfs counters are all non-saturating, non-resetting
> counters like everything else in the net stack. You need a different
> interface to the chip firmware to implement this, can't use the
> existing PMA stuff.

> In the same vien adding saturating but non-resettable PMA-esque
> counters for IBoE seems pretty hackish to me.. Though I agree it is
> not terribly relevant for 64 bit counters.

Jason,

To put things in place, the IB stack PMA counters aren't resettable
through sysfs, still, under IB, the same counter set is readable
through both mads and sysfs and resettable through mads.

As for the saturation thing, I didn't think about that, but you're
probably right and all the IBA PMA counters are saturating, but as
your comment said, the 64 bit case is practically okay

Or.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to