net/mlx5: Generalize IRQ interface to work with irq_table
authorYuval Avnery <yuvalav@mellanox.com>
Mon, 10 Jun 2019 23:38:34 +0000 (23:38 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 17:59:49 +0000 (10:59 -0700)
commitbfb49549ea7993f49c0374295d84a0c7772102a2
treea3bab356df42c997be3fd134f1c124d145d05f3d
parente1706e62801e9ad65b1fb6e6eccc69acfa43d16d
net/mlx5: Generalize IRQ interface to work with irq_table

IRQ interface should operate within the irq_table context.
It should be independent of any EQ data structure.

The interface that will be exposed:
init/clenup, create/destroy, attach/detach

Signed-off-by: Yuval Avnery <yuvalav@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c