Skip to content

Commit c699f35

Browse files
emuslndavem330
authored andcommitted
ionic: set adminq irq affinity
We claim to have the AdminQ on our irq0 and thus cpu id 0, but we need to be sure we set the affinity hint to try to keep it there. Signed-off-by: Shannon Nelson <[email protected]> Reviewed-by: Brett Creeley <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 2210c54 commit c699f35

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

drivers/net/ethernet/pensando/ionic/ionic_lif.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3391,9 +3391,12 @@ static int ionic_lif_adminq_init(struct ionic_lif *lif)
33913391

33923392
napi_enable(&qcq->napi);
33933393

3394-
if (qcq->flags & IONIC_QCQ_F_INTR)
3394+
if (qcq->flags & IONIC_QCQ_F_INTR) {
3395+
irq_set_affinity_hint(qcq->intr.vector,
3396+
&qcq->intr.affinity_mask);
33953397
ionic_intr_mask(idev->intr_ctrl, qcq->intr.index,
33963398
IONIC_INTR_MASK_CLEAR);
3399+
}
33973400

33983401
qcq->flags |= IONIC_QCQ_F_INITED;
33993402

0 commit comments

Comments
 (0)