On Thu, 28 May 2015, Jason Gunthorpe wrote:

> After a quick look through, the biggest question in my mind is what
> should the timestamp value in the wc be?
>
> Right now it is some coded thing in clock cycles.

This is sufficient since it can be converted to ns or whatever one wants.

> Should we require the driver to convert to ns before passing the wc
> back to the app? (Looks like the socket implementation uniformly uses
> us or ns)

But that requires additional processing.

> Should the app open code the conversion from clock cycles to ns, or
> vfunc down to the driver?

The API provides the abilty to retrieve the clock freq which is
sufficient for the user to convert the value to meaningful time values.



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

Reply via email to