summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/mlx5_ifc.h
diff options
context:
space:
mode:
authorEran Ben Elisha2015-12-29 13:58:30 +0100
committerDavid S. Miller2016-01-05 20:11:50 +0100
commitb0844444590e18704644f707ea88bff1b976b0e7 (patch)
treeeb586b351a7e95ab4672fb14c2d68775c213287d /include/linux/mlx5/mlx5_ifc.h
parentnet/mlx5e: Do not modify the TX SKB (diff)
downloadkernel-qcow2-linux-b0844444590e18704644f707ea88bff1b976b0e7.tar.gz
kernel-qcow2-linux-b0844444590e18704644f707ea88bff1b976b0e7.tar.xz
kernel-qcow2-linux-b0844444590e18704644f707ea88bff1b976b0e7.zip
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.h6
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];