]> 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)
commit700c1b9ee52b5e4699d9bf3c60a3d462d2668753
treea52a20c76c52588d59be1d22db751e982730d8a6
parentc354129ebc1a5ddb5fa6dfc614305a1594a02a96
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