diff options
| author | Vadim Fedorenko <vadfed@meta.com> | 2025-01-07 02:48:12 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-02-17 10:04:51 +0100 |
| commit | 62483e0a1fbf6a71973ab6a4a4e9c10515898608 (patch) | |
| tree | 8bd89926bb2da05366e42b597f5919b83c51f1f0 /include | |
| parent | adcb8ce68dde8f84aeb048f17d53d9f8037fdf44 (diff) | |
| download | linux-62483e0a1fbf6a71973ab6a4a4e9c10515898608.tar.gz linux-62483e0a1fbf6a71973ab6a4a4e9c10515898608.tar.bz2 linux-62483e0a1fbf6a71973ab6a4a4e9c10515898608.zip | |
net/mlx5: use do_aux_work for PHC overflow checks
[ Upstream commit e61e6c415ba9ff2b32bb6780ce1b17d1d76238f1 ]
The overflow_work is using system wq to do overflow checks and updates
for PHC device timecounter, which might be overhelmed by other tasks.
But there is dedicated kthread in PTP subsystem designed for such
things. This patch changes the work queue to proper align with PTP
subsystem and to avoid overloading system work queue.
The adjfine() function acts the same way as overflow check worker,
we can postpone ptp aux worker till the next overflow period after
adjfine() was called.
Reviewed-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Vadim Fedorenko <vadfed@meta.com>
Acked-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20250107104812.380225-1-vadfed@meta.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/mlx5/driver.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h index 82c7056e2759..d4b2c09cd5fe 100644 --- a/include/linux/mlx5/driver.h +++ b/include/linux/mlx5/driver.h @@ -722,7 +722,6 @@ struct mlx5_timer { struct timecounter tc; u32 nominal_c_mult; unsigned long overflow_period; - struct delayed_work overflow_work; }; struct mlx5_clock { |
