diff options
| author | Yuval Avnery <[email protected]> | 2019-06-10 23:38:25 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2019-06-13 10:59:49 -0700 |
| commit | 24163189da487b4caa751eef4e945c9333aae441 (patch) | |
| tree | 7522b9aa30c3ae7b269c6aa4a241c620aa57d056 /include/linux | |
| parent | ca390799c2aa03632c294107fa7f647bcbdff428 (diff) | |
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 <[email protected]>
Reviewed-by: Parav Pandit <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'include/linux')
| -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); |