diff options
author | Yuval Avnery <yuvalav@mellanox.com> | 2019-06-10 23:38:25 +0000 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2019-06-13 10:59:49 -0700 |
commit | 24163189da487b4caa751eef4e945c9333aae441 (patch) | |
tree | 7522b9aa30c3ae7b269c6aa4a241c620aa57d056 /include/linux/mlx5 | |
parent | ca390799c2aa03632c294107fa7f647bcbdff428 (diff) | |
download | linux-24163189da487b4caa751eef4e945c9333aae441.tar.gz linux-24163189da487b4caa751eef4e945c9333aae441.tar.bz2 linux-24163189da487b4caa751eef4e945c9333aae441.zip |
net/mlx5: Separate IRQ request/free from EQ life cycle
Instead of requesting IRQ with eq creation, IRQs will be requested
before EQ table creation.
Instead of freeing the IRQs after EQ destroy, free IRQs after eq
table destroy.
Signed-off-by: Yuval Avnery <yuvalav@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'include/linux/mlx5')
-rw-r--r-- | include/linux/mlx5/eq.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/mlx5/eq.h b/include/linux/mlx5/eq.h index 7909f1ff197c..73ab658af764 100644 --- a/include/linux/mlx5/eq.h +++ b/include/linux/mlx5/eq.h @@ -30,8 +30,7 @@ struct mlx5_eq_param { }; struct mlx5_eq * -mlx5_eq_create_generic(struct mlx5_core_dev *dev, const char *name, - struct mlx5_eq_param *param); +mlx5_eq_create_generic(struct mlx5_core_dev *dev, struct mlx5_eq_param *param); int mlx5_eq_destroy_generic(struct mlx5_core_dev *dev, struct mlx5_eq *eq); |