diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-02-23 11:37:05 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-06-15 06:57:57 +0300 |
commit | e4e3f24b822f9dc9ae2427a8d686e8c1d80d6bd2 (patch) | |
tree | cdeb7b3ab2e07f69f33afa3b45c998881e30ea48 /include/linux | |
parent | 3b43190b2f25e8e477c9bb32afd01e61161c60f7 (diff) | |
download | linux-e4e3f24b822f9dc9ae2427a8d686e8c1d80d6bd2.tar.xz |
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 <leonro@nvidia.com>
Reviewed-by: Shay Drory <shayd@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
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 * |