From 29af53f0063adcbeb8a8890a57eb2c4f00c2d178 Mon Sep 17 00:00:00 2001 From: Jack F Vogel Date: Thu, 25 Jun 2009 18:40:27 +0000 Subject: [PATCH] Decided to limit the interrupt bind to multiqueue config as done in igb. --- sys/dev/ixgbe/ixgbe.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index c6e63ec55ad0..040863c691f7 100644 --- a/sys/dev/ixgbe/ixgbe.c +++ b/sys/dev/ixgbe/ixgbe.c @@ -2156,7 +2156,8 @@ ixgbe_allocate_msix(struct adapter *adapter) ** Bind the msix vector, and thus the ** ring to the corresponding cpu. */ - bus_bind_intr(dev, txr->res, i); + if (adapter->num_queues > 1) + bus_bind_intr(dev, txr->res, i); TASK_INIT(&txr->tx_task, 0, ixgbe_handle_tx, txr); txr->tq = taskqueue_create_fast("ixgbe_txq", M_NOWAIT, @@ -2192,7 +2193,8 @@ ixgbe_allocate_msix(struct adapter *adapter) ** Bind the msix vector, and thus the ** ring to the corresponding cpu. */ - bus_bind_intr(dev, rxr->res, i); + if (adapter->num_queues > 1) + bus_bind_intr(dev, rxr->res, i); TASK_INIT(&rxr->rx_task, 0, ixgbe_handle_rx, rxr); rxr->tq = taskqueue_create_fast("ixgbe_rxq", M_NOWAIT,