Re: [PATCH for-next V2 4/5] IB/mlx5: Add hca_core_clock_offset to udata in init_ucontext

2015-12-23 Thread Matan Barak
On Wed, Dec 23, 2015 at 11:03 AM, Or Gerlitz wrote: > On 12/22/2015 11:37 PM, Or Gerlitz wrote: >> >> On Tue, Dec 15, 2015 at 8:30 PM, Matan Barak wrote: >>> >>> >Pass hca_core_clock_offset to user-space is mandatory in order to >>> >let the user-space

Re: [PATCH for-next V2 4/5] IB/mlx5: Add hca_core_clock_offset to udata in init_ucontext

2015-12-23 Thread Or Gerlitz
On 12/22/2015 11:37 PM, Or Gerlitz wrote: On Tue, Dec 15, 2015 at 8:30 PM, Matan Barak wrote: >Pass hca_core_clock_offset to user-space is mandatory in order to >let the user-space read the free-running clock register from the >right offset in the memory mapped page.

[PATCH for-next V2 4/5] IB/mlx5: Add hca_core_clock_offset to udata in init_ucontext

2015-12-15 Thread Matan Barak
Pass hca_core_clock_offset to user-space is mandatory in order to let the user-space read the free-running clock register from the right offset in the memory mapped page. Passing this value is done by changing the vendor's command and response of init_ucontext to be in extensible form.