]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: Introduce control IRQ request API
authorShay Drory <shayd@nvidia.com>
Sun, 14 Nov 2021 11:01:21 +0000 (13:01 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 7 Jan 2022 00:22:51 +0000 (16:22 -0800)
commit5256a46bf53872d9888c0d9c34382262b3006599
treea52a20c76c52588d59be1d22db751e982730d8a6
parent20f80ffcedfaaa3d15acccd5b622ebb769ac759b
net/mlx5: Introduce control IRQ request API

Currently, IRQ layer have a separate flow for ctrl and comp IRQs, and
the distinction between ctrl and comp IRQs is done in the IRQ layer.

In order to ease the coding and maintenance of the IRQ layer,
introduce a new API for requesting control IRQs -
mlx5_ctrl_irq_request(struct mlx5_core_dev *dev).

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Moshe Shemesh <moshe@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eq.c
drivers/net/ethernet/mellanox/mlx5/core/mlx5_irq.h
drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c