diff options
| author | William Tu <witu@nvidia.com> | 2026-01-14 10:46:37 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-01-19 23:26:42 +0300 |
| commit | ea945f4f399130658a358103b57f37c2d2150458 (patch) | |
| tree | b3c99bcab1243703df69befa786c25e168571be7 /include/linux | |
| parent | 3b85d5f8562cd7341d71f3f3c58120681f518ed3 (diff) | |
| download | linux-ea945f4f399130658a358103b57f37c2d2150458.tar.xz | |
net/mlx5e: Move async ICOSQ lock into ICOSQ struct
Move the async_icosq spinlock from the mlx5e_channel structure into
the mlx5e_icosq structure itself for better encapsulation and for
later patch to also use it for other icosq use cases.
Changes:
- Add spinlock_t lock field to struct mlx5e_icosq
- Remove async_icosq_lock field from struct mlx5e_channel
- Initialize the new lock in mlx5e_open_icosq()
- Update all lock usage in ktls_rx.c and en_main.c to use sq->lock
instead of c->async_icosq_lock
Signed-off-by: William Tu <witu@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/1768376800-1607672-2-git-send-email-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
