net/mlx5: Add support for MTPTM and MTCTR registers
authorRahul Rameshbabu <rrameshbabu@nvidia.com>
Tue, 30 Jul 2024 13:40:52 +0000 (16:40 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 5 Aug 2024 23:44:44 +0000 (16:44 -0700)
commit7e45c1e9edc0004b914e2d5a33245908a06f072c
tree1f0e907a21e8c99974c7c41efdedfcf3538d768f
parente8fc78eb658a1ebcb871e93bbe4f18e9d51fdd3a
net/mlx5: Add support for MTPTM and MTCTR registers

Make Management Precision Time Measurement (MTPTM) register and Management
Cross Timestamp (MTCTR) register usable in mlx5 driver.

Signed-off-by: Rahul Rameshbabu <rrameshbabu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Tested-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20240730134055.1835261-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fw.c
include/linux/mlx5/device.h
include/linux/mlx5/driver.h
include/linux/mlx5/mlx5_ifc.h