mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 11:50:43 +09:00
ionic: clean irq affinity on queue deinit
[ Upstream commitb9c17d39d5] Add a little more cleanup when tearing down the queues. Fixes:1d062b7b6f("ionic: Add basic adminq support") Signed-off-by: Shannon Nelson <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net> Stable-dep-of:abfb2a58a5("ionic: remove WARN_ON to prevent panic_on_warn") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
ef7fc26b6a
commit
7cf21fba1b
@@ -269,8 +269,10 @@ static void ionic_lif_qcq_deinit(struct ionic_lif *lif, struct ionic_qcq *qcq)
|
||||
if (qcq->flags & IONIC_QCQ_F_INTR) {
|
||||
ionic_intr_mask(idev->intr_ctrl, qcq->intr.index,
|
||||
IONIC_INTR_MASK_SET);
|
||||
irq_set_affinity_hint(qcq->intr.vector, NULL);
|
||||
devm_free_irq(dev, qcq->intr.vector, &qcq->napi);
|
||||
netif_napi_del(&qcq->napi);
|
||||
qcq->intr.vector = 0;
|
||||
}
|
||||
|
||||
qcq->flags &= ~IONIC_QCQ_F_INITED;
|
||||
|
||||
Reference in New Issue
Block a user