diff options
| author | Leon Romanovsky <[email protected]> | 2021-02-23 10:37:05 +0200 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-06-14 20:57:57 -0700 |
| commit | e4e3f24b822f9dc9ae2427a8d686e8c1d80d6bd2 (patch) | |
| tree | cdeb7b3ab2e07f69f33afa3b45c998881e30ea48 /include/linux | |
| parent | 3b43190b2f25e8e477c9bb32afd01e61161c60f7 (diff) | |
net/mlx5: Provide cpumask at EQ creation phase
The users of EQ are running their code on different CPUs and with
various affinity patterns. Move the cpumask setting close to their
actual usage.
Signed-off-by: Leon Romanovsky <[email protected]>
Reviewed-by: Shay Drory <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mlx5/eq.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx5/eq.h b/include/linux/mlx5/eq.h index e49d8c0d4f26..cea6ecb4b73e 100644 --- a/include/linux/mlx5/eq.h +++ b/include/linux/mlx5/eq.h @@ -16,6 +16,7 @@ struct mlx5_eq_param { u8 irq_index; int nent; u64 mask[4]; + cpumask_var_t affinity; }; struct mlx5_eq * |