]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net/mlx5: Extract MTCTR register read logic into helper function
authorCarolina Jubran <cjubran@nvidia.com>
Tue, 12 Aug 2025 14:17:07 +0000 (17:17 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 9 Sep 2025 07:33:24 +0000 (09:33 +0200)
commit96c345c3c54c31abf8ba04c241b8fe26fa0ab022
tree0b94784fc562013be5a43250658821596e220590
parentfaf23f54d366467bb449a7b2c39b382db9f92e80
net/mlx5: Extract MTCTR register read logic into helper function

Refactor the MTCTR register reading logic into a dedicated helper to
lay the groundwork for the next patch.

Signed-off-by: Carolina Jubran <cjubran@nvidia.com>
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1755008228-88881-3-git-send-email-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c