diff options
author | Eran Ben Elisha <eranbe@mellanox.com> | 2015-12-29 15:58:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-01-05 22:11:50 +0300 |
commit | b0844444590e18704644f707ea88bff1b976b0e7 (patch) | |
tree | eb586b351a7e95ab4672fb14c2d68775c213287d /include/linux/mlx5/mlx5_ifc.h | |
parent | 34802a42b3528b0e18ea4517c8b23e1214a09332 (diff) | |
download | linux-b0844444590e18704644f707ea88bff1b976b0e7.tar.xz |
net/mlx5_core: Introduce access function to read internal timer
A preparation step which adds support for reading the hardware
internal timer and the hardware timestamping from the CQE.
In addition, advertize device_frequency_khz HCA capability.
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5/mlx5_ifc.h')
-rw-r--r-- | include/linux/mlx5/mlx5_ifc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/mlx5/mlx5_ifc.h b/include/linux/mlx5/mlx5_ifc.h index 131a2737cfa3..1780a85a8797 100644 --- a/include/linux/mlx5/mlx5_ifc.h +++ b/include/linux/mlx5/mlx5_ifc.h @@ -829,9 +829,9 @@ struct mlx5_ifc_cmd_hca_cap_bits { u8 reserved_66[0x8]; u8 log_uar_page_sz[0x10]; - u8 reserved_67[0xe0]; - - u8 reserved_68[0x1f]; + u8 reserved_67[0x40]; + u8 device_frequency_khz[0x20]; + u8 reserved_68[0x5f]; u8 cqe_zip[0x1]; u8 cqe_zip_timeout[0x10]; |