diff options
| author | Mark Bloch <mbloch@nvidia.com> | 2026-05-03 23:27:22 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-05-06 19:03:37 -0700 |
| commit | 9b8468f001e46c4ffcbbeb2050aabf80e1ed7960 (patch) | |
| tree | 6d99941c97e0e3eab56492a27625c3a94868166c /include/linux | |
| parent | 386ef557f6df1955631d2b0d79c5984e1b1ce145 (diff) | |
net/mlx5: E-Switch, add representor lifecycle lock
Add a per-E-Switch mutex for serializing representor lifecycle work and
provide small helpers for taking and dropping it. Initialize and destroy
the mutex with the E-Switch offloads state.
Add the lock and helper API first. Follow-up patches will take the lock in
the individual representor lifecycle components. This keeps the functional
changes split by component and leaves this patch without intended behavior
change, making the series easier to review and bisectable.
Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260503202726.266415-4-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
