]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19e68587b5d3929d19a04a2a168439764bc70956
tree7522b9aa30c3ae7b269c6aa4a241c620aa57d056
parent53c1753ddf9080a408f41b98cdebb05f5970d90d
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