]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5_core: Introduce access function to read internal timer
authorEran Ben Elisha <eranbe@mellanox.com>
Tue, 29 Dec 2015 12:58:30 +0000 (14:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 19:11:50 +0000 (14:11 -0500)
commitb0844444590e18704644f707ea88bff1b976b0e7
treeeb586b351a7e95ab4672fb14c2d68775c213287d
parent34802a42b3528b0e18ea4517c8b23e1214a09332
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>
drivers/net/ethernet/mellanox/mlx5/core/main.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h