diff options
author | Mike Marciniszyn <mike.marciniszyn@qlogic.com> | 2012-02-26 05:45:49 +0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2012-02-26 05:45:49 +0400 |
commit | a778f3fddc6fc2ed4c065f6e160d517a5959f949 (patch) | |
tree | ac024b855f69f9f512458b8a0e8e4a4cf7b9f1c7 /drivers/spi/spi.c | |
parent | 6b21d18ed50c7d145220b0724ea7f2613abf0f95 (diff) | |
download | linux-a778f3fddc6fc2ed4c065f6e160d517a5959f949.tar.xz |
IB/qib: Add logic for affinity hint
Call irq_set_affinity_hint() to give userspace programs such as
irqbalance the information to be able to distribute qib interrupts
appropriately.
The logic allocates all non-receive interrupts to the first CPU local
to the HCA. Receive interrupts are allocated round robin starting
with the second CPU local to the HCA with potential wrap back to the
second CPU.
This patch also adds a refinement to the name registered for MSI-X
interrupts so that user level scripts can determine the device
associated with the IRQs when there are multiple HCAs with a
potentially different set of local CPUs.
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions