]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Expose ts_cqe_metadata_size2wqe_counter
authorAya Levin <ayal@nvidia.com>
Mon, 4 Jul 2022 16:34:08 +0000 (19:34 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 19 Jul 2022 20:32:53 +0000 (13:32 -0700)
commit55cbe115b9e957266263282a38cd2081dc4398c4
tree12f45f32b1e08c142d9d170c4ca39aab7c9b3cef
parenta42c7606601bbaf9c39ffe3ac0245cdc63aee804
net/mlx5: Expose ts_cqe_metadata_size2wqe_counter

Add capability field which indicates the mask for wqe_counter which
connects between loopback CQE and the original WQE. With this connection
the driver can identify lost of the loopback CQE and reply PTP
synchronization with timestamp given in the original CQE.

Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
include/linux/mlx5/mlx5_ifc.h