]> git.baikalelectronics.ru Git - kernel.git/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)
commitaa1e187199ac7e924c3ca2c15a2fae9e9d98e2f0
tree2b8c7b44f01ce3a88668d59fcdedeefb31683e7f
parent84e5993092fb037840644e9bb68f94d925e9a604
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