Re: [PATCH for-next V1 00/11] Add completion timestamping support

2015-05-29 Thread Or Gerlitz
On Fri, May 29, Steve Wise wrote: > On 5/21/2015 9:56 AM, Or Gerlitz wrote: >> A user-space application could get the current HW's clock by executing >> >> ibv_query_values_ex(struct ibv_context *context, uint32_t q_values, >> struct ibv_values_ex *values) >> >> The function

Re: [PATCH for-next V1 00/11] Add completion timestamping support

2015-05-28 Thread Steve Wise
On 5/21/2015 9:56 AM, Or Gerlitz wrote: Hi Doug, This patchset adds completion timestamping supports for verbs consumers. Timestamping is used by applications in order to know when a WQE was received/transmitted by the HW. The value is given is HCA hardware cycles, but could be easily converted

Re: [PATCH for-next V1 00/11] Add completion timestamping support

2015-05-22 Thread Or Gerlitz
On Thu, May 21, 2015 at 5:56 PM, Or Gerlitz wrote: [...] > In mlx4, allowing the user to read the core clock efficiently involves mapping > this area of the hardware to user-space (being done by using a mmap command) > and reading the clock from the correct offset of the page. > > This offset is r

[PATCH for-next V1 00/11] Add completion timestamping support

2015-05-21 Thread Or Gerlitz
Hi Doug, This patchset adds completion timestamping supports for verbs consumers. Timestamping is used by applications in order to know when a WQE was received/transmitted by the HW. The value is given is HCA hardware cycles, but could be easily converted as the hardware's core clock frequecny