summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorLeon Romanovsky <leonro@nvidia.com>2021-02-23 10:37:05 +0200
committerSaeed Mahameed <saeedm@nvidia.com>2021-06-14 20:57:57 -0700
commite4e3f24b822f9dc9ae2427a8d686e8c1d80d6bd2 (patch)
treecdeb7b3ab2e07f69f33afa3b45c998881e30ea48 /include
parent3b43190b2f25e8e477c9bb32afd01e61161c60f7 (diff)
downloadlinux-e4e3f24b822f9dc9ae2427a8d686e8c1d80d6bd2.tar.bz2
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')
-rw-r--r--include/linux/mlx5/eq.h1
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 *