Re: [PATCH 11/14] irq: add support for allocating (and affinitizing) sets of IRQs

From: Hannes Reinecke
Date: Mon Oct 29 2018 - 03:43:31 EST


On 10/25/18 11:16 PM, Jens Axboe wrote:
A driver may have a need to allocate multiple sets of MSI/MSI-X
interrupts, and have them appropriately affinitized. Add support for
defining a number of sets in the irq_affinity structure, of varying
sizes, and get each set affinitized correctly across the machine.

Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Signed-off-by: Jens Axboe <axboe@xxxxxxxxx>
---
include/linux/interrupt.h | 4 ++++
kernel/irq/affinity.c | 31 +++++++++++++++++++++++++------
2 files changed, 29 insertions(+), 6 deletions(-)


Reviewed-by: Hannes Reinecke <hare@xxxxxxxx>

Cheers,

Hannes