]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add register layout to support real-time time-stamp
authorEran Ben Elisha <eranbe@mellanox.com>
Fri, 12 Feb 2021 22:30:38 +0000 (14:30 -0800)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 16 Feb 2021 22:04:54 +0000 (14:04 -0800)
commit19f8b6462823fb975d7ef26aff560fb56434966a
tree74a378b62d88747c951a24bf9bdedc95ef345389
parent14054c94504ad299b5181e25ee9aa4eac7a0a0e3
net/mlx5: Add register layout to support real-time time-stamp

Add needed structure layouts and defines for MTUTC (Management UTC)
register. MTUTC will be used for cyc2time HW translation.

In addition, add cyc2time modify capability bit and init segment HCA
real time address.

Finally, add capability bits indicating which time-stamping format is
supported per SQ and RQ. Add ts_format in the queue's context layout to
allow configuration.

Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
include/linux/mlx5/device.h
include/linux/mlx5/driver.h
include/linux/mlx5/mlx5_ifc.h