diff options
| author | Dragos Tatulea <dtatulea@nvidia.com> | 2026-02-23 22:41:45 +0200 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2026-02-26 10:54:23 +0100 |
| commit | 8a96b9144f18a2c996d3cfead85e4ca0f9e58de7 (patch) | |
| tree | eb445a34a435803ad7defe2de8f8a2267a2eeecd /include/linux/workqueue_api.h | |
| parent | ba4f39c256f503b4c6685f83f2a09d0a170a8144 (diff) | |
net/mlx5e: Alloc xsk channel param out of mlx5e_open_xsk()
Currently the allocation and filling of the xsk channel
parameters was done in mlx5e_open_xsk().
Move this responsibility out of mlx5e_open_xsk() and have
the function take an already filled mlx5e_channel_param.
mlx5e_open_channel() already allocates channel parameters.
The only precaution that is needed is to call
mlx5e_build_xsk_channel_param() before mlx5e_open_xsk().
mlx5e_xsk_enable_locked() now allocates and fills the xsk parameters.
For simplicity, link the xsk parameters in struct mlx5e_channel_params
so that channel params can be passed around.
This patch has no functional changes.
Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link: https://patch.msgid.link/20260223204155.1783580-6-tariqt@nvidia.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
