diff options
| author | 2025-02-03 23:35:05 +0200 | |
|---|---|---|
| committer | 2025-02-06 10:14:00 +0100 | |
| commit | 355f58f10911f9654d42dcba3cbe127238b4fd94 (patch) | |
| tree | 73dd75ca6d7c81e038ad67b681e09133b288fac2 /rust/kernel/gpu/ssh:/git@git.zx2c4.com | |
| parent | net/mlx5: Add init and destruction functions for a single HW clock (diff) | |
net/mlx5: Add API to get mlx5_core_dev from mlx5_clock
The mdev is calculated directly from mlx5_clock, as it's one of the
fields in mlx5_core_dev. Move to a function so it can be easily
changed in next patch.
Signed-off-by: Jianbo Liu <jianbol@nvidia.com>
Reviewed-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'rust/kernel/gpu/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
