diff options
| author | Mark Bloch <mbloch@nvidia.com> | 2026-04-28 08:10:15 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-29 17:46:27 -0700 |
| commit | f950ddb57ce46eee0d2b8f1d6ea47f835c224103 (patch) | |
| tree | 5706714304c7af8f6eeac0343e271719b0ef052c /include/linux/timerqueue.h | |
| parent | e2d217fe3ff2a73ace0dbfe41b620c7fb767b000 (diff) | |
net/mlx5: E-Switch, move work queue generation counter
The generation counter in mlx5_esw_functions is used to detect stale
work items on the E-Switch work queue. Move it from mlx5_esw_functions
to the top-level mlx5_eswitch struct so it can guard all work types,
not just function-change events.
This is a mechanical refactor: no behavioral change.
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260428051018.219093-2-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
