• M
    IB/qib: Add logic for affinity hint · a778f3fd
    Mike Marciniszyn 提交于
    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: NMike Marciniszyn <mike.marciniszyn@qlogic.com>
    Signed-off-by: NRoland Dreier <roland@purestorage.com>
    a778f3fd
qib_iba7322.c 251.5 KB