From: Matan Barak Date: Thu, 11 Jun 2015 13:35:24 +0000 (+0300) Subject: IB/core: Add timestamp_mask and hca_core_clock to query_device X-Git-Tag: omap-for-v4.2/fixes-rc1^2~152^2~17 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24306dc66149020c59a07b64e2a325af59ee7d10;p=pandora-kernel.git IB/core: Add timestamp_mask and hca_core_clock to query_device In order to expose timestamp we need to expose two new attributes in query_device to be used for CQ completion time-stamping: timestamp_mask - how many bits are valid in the timestamp, where timestamp values could be 64bits the most. hca_core_clock - timestamp is given in HW cycles, the frequency in KHZ units of the HCA, necessary in order to convert cycles to seconds. This is added both to ib_query_device and its respective uverbs counterpart. Signed-off-by: Matan Barak Signed-off-by: Or Gerlitz Signed-off-by: Doug Ledford --- Reading git-diff-tree failed