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 <[email protected]>
Cc: [email protected]
Signed-off-by: Jens Axboe <[email protected]>
---
include/linux/interrupt.h | 4 ++++
kernel/irq/affinity.c | 31 +++++++++++++++++++++++++------
2 files changed, 29 insertions(+), 6 deletions(-)
Reviewed-by: Hannes Reinecke <[email protected]>
Cheers,
Hannes