summaryrefslogtreecommitdiff
path: root/include/linux/mlx5/eq.h
diff options
context:
space:
mode:
authorYuval Avnery <yuvalav@mellanox.com>2019-06-11 02:38:25 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2019-06-13 20:59:49 +0300
commit24163189da487b4caa751eef4e945c9333aae441 (patch)
tree7522b9aa30c3ae7b269c6aa4a241c620aa57d056 /include/linux/mlx5/eq.h
parentca390799c2aa03632c294107fa7f647bcbdff428 (diff)
downloadlinux-24163189da487b4caa751eef4e945c9333aae441.tar.xz
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/eq.h')
-rw-r--r--include/linux/mlx5/eq.h3
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);