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>
This commit is contained in:

committed by
David S. Miller

parent
d998735f44
commit
ddd8a6c12d
@@ -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 {
|
||||
|
Reference in New Issue
Block a user