summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4
diff options
context:
space:
mode:
authorEugenia Emantayev <eugenia@mellanox.com>2013-04-23 06:06:48 +0000
committerDavid S. Miller <davem@davemloft.net>2013-04-24 16:30:13 -0400
commitddd8a6c12d7e494902a9435a9a7a543ef730b2d8 (patch)
tree5dd526d9fef754d1de7fce210ee002e71cb1818d /include/linux/mlx4
parentd998735f443427c1530cac5eeda0a45c8cb60a57 (diff)
downloadop-kernel-dev-ddd8a6c12d7e494902a9435a9a7a543ef730b2d8.zip
op-kernel-dev-ddd8a6c12d7e494902a9435a9a7a543ef730b2d8.tar.gz
net/mlx4_core: Read HCA frequency and map internal clock
Read HCA frequency, read PCI clock bar and offset, map internal clock to PCI bar. Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Amir Vadai <amirv@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r--include/linux/mlx4/device.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index 86ae260..e088290 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -445,6 +445,7 @@ struct mlx4_caps {
u8 eqe_factor;
u32 userspace_caps; /* userspace must be aware of these */
u32 function_caps; /* VFs must be aware of these */
+ u16 hca_core_clock;
};
struct mlx4_buf_list {
OpenPOWER on IntegriCloud