commit | 9a1ac95a59d0724ffac2181a98b232c3f94f49f5 | [log] [tgz] |
---|---|---|
author | Aharon Landau <aharonl@nvidia.com> | Wed Jun 16 10:57:38 2021 +0300 |
committer | Leon Romanovsky <leonro@nvidia.com> | Tue Jun 22 09:35:16 2021 +0300 |
tree | 58b30e71cd768e5d856a0948df210c085e613eb1 | |
parent | 009c9aa5be652675a06d5211e1640e02bbb1c33d [diff] |
RDMA/mlx5: Refactor get_ts_format functions to simplify code QPC, SQC and RQC timestamp formats and capabilities are always equal because they represent general hardware support. So instead of code duplication, let's merge them into general enum and logic. Signed-off-by: Aharon Landau <aharonl@nvidia.com> Reviewed-by: Maor Gottlieb <maorg@nvidia.com> Signed-off-by: Leon Romanovsky <leonro@nvidia.com>