]> git.itanic.dy.fi Git - linux-stable/commit
net/mlx5: Introduce API for bulk request and release of IRQs
authorShay Drory <shayd@nvidia.com>
Sun, 12 Dec 2021 12:51:27 +0000 (14:51 +0200)
committerSaeed Mahameed <saeedm@nvidia.com>
Fri, 7 Jan 2022 00:22:52 +0000 (16:22 -0800)
commit79b60ca83b6fa63ef307d2edcc77ee6581da8971
tree2b8c7b44f01ce3a88668d59fcdedeefb31683e7f
parent424544df97b0197b1d87d2fd1c18c6b936aa02b1
net/mlx5: Introduce API for bulk request and release of IRQs

Currently IRQs are requested one by one. To balance spreading IRQs
among cpus using such scheme requires remembering cpu mask for the
cpus used for a given device. This complicates the IRQ allocation
scheme in subsequent patch.

Hence, prepare the code for bulk IRQs allocation. This enables
spreading IRQs among cpus in subsequent patch.

Signed-off-by: Shay Drory <shayd@nvidia.com>
Reviewed-by: Parav Pandit <parav@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/infiniband/hw/mlx5/odp.c
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
include/linux/mlx5/eq.h