summaryrefslogtreecommitdiff
path: root/include/linux/mlx5/eq.h
diff options
context:
space:
mode:
authorYishai Hadas <yishaih@mellanox.com>2019-06-30 19:23:23 +0300
committerLeon Romanovsky <leonro@mellanox.com>2019-07-03 20:55:45 +0300
commitb9a7ba5562074855e8a3f92ea7e1174b61a3e87d (patch)
tree3d2f3e4af99d2d31565ead07481717908a22fcd2 /include/linux/mlx5/eq.h
parent1d49ce1e05f804d9238eda66d6010eb492668a37 (diff)
net/mlx5: Use event mask based on device capabilities
Use the reported device capabilities for the supported user events (i.e. affiliated and un-affiliated) to set the EQ mask. As the event mask can be up to 256 defined by 4 entries of u64 change the applicable code to work accordingly. Signed-off-by: Yishai Hadas <yishaih@mellanox.com> Acked-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/linux/mlx5/eq.h')
-rw-r--r--include/linux/mlx5/eq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/mlx5/eq.h b/include/linux/mlx5/eq.h
index 70e16dcfb4c4..e49d8c0d4f26 100644
--- a/include/linux/mlx5/eq.h
+++ b/include/linux/mlx5/eq.h
@@ -15,7 +15,7 @@ struct mlx5_core_dev;
struct mlx5_eq_param {
u8 irq_index;
int nent;
- u64 mask;
+ u64 mask[4];
};
struct mlx5_eq *