OSDN Git Service

net/mlx5: Separate IRQ request/free from EQ life cycle
authorYuval Avnery <yuvalav@mellanox.com>
Mon, 10 Jun 2019 23:38:25 +0000 (23:38 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 17:59:49 +0000 (10:59 -0700)
commit24163189da487b4caa751eef4e945c9333aae441
tree7522b9aa30c3ae7b269c6aa4a241c620aa57d056
parentca390799c2aa03632c294107fa7f647bcbdff428
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>
drivers/infiniband/hw/mlx5/odp.c
drivers/net/ethernet/mellanox/mlx5/core/eq.c
include/linux/mlx5/eq.h