Re: [PATCH rdma-next 07/16] IB/core: Introduce counter set query verb

Christopher Lameter
2017-10-20T10:48:44Z

On Thu, 19 Oct 2017, Yishai Hadas wrote:

> A counter set must be first attached to an IB object in order to
> be queried for its underlay counters, downstream patches will
> present bind and query methods for flow counters.
> The user has an option as part of the query verb to force reading
> the up-to-date hardware values instead of reading some cached
> values by using the IB_COUNTER_SET_FORCE_UPDATE flag.

What does "cached" mean in this context? Accurate to the last second? Or
just return what was returned earlier? Semantics look a bit unclear to me.