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)
commit2e5e4185ff89ea0fc44c9dead8dccf306a3b3bbb
tree12f45f32b1e08c142d9d170c4ca39aab7c9b3cef
parent462b0059993696eaf863c23c2a12658e4fe0ccbf
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