]> git.baikalelectronics.ru Git - kernel.git/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)
commit0acc69f842d6ada25260afc386f89ca9a82aa384
treea52a20c76c52588d59be1d22db751e982730d8a6
parentafdead538949150bd442cddd17d4dd5276a892d2
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