Commit 2e5e4185 authored by Aya Levin's avatar Aya Levin Committed by Saeed Mahameed
Browse files

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: default avatarAya Levin <ayal@nvidia.com>
Reviewed-by: default avatarTariq Toukan <tariqt@nvidia.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
parent 462b0059
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -1833,7 +1833,11 @@ struct mlx5_ifc_cmd_hca_cap_2_bits {
	u8	   sw_vhca_id[0xe];
	u8	   reserved_at_230[0x10];

	u8	   reserved_at_240[0x5c0];
	u8	   reserved_at_240[0xb];
	u8	   ts_cqe_metadata_size2wqe_counter[0x5];
	u8	   reserved_at_250[0x10];

	u8	   reserved_at_260[0x5a0];
};

enum mlx5_ifc_flow_destination_type {