aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack F Vogel <jfv@FreeBSD.org>2009-06-25 18:40:27 +0000
committerJack F Vogel <jfv@FreeBSD.org>2009-06-25 18:40:27 +0000
commit29af53f0063adcbeb8a8890a57eb2c4f00c2d178 (patch)
tree4d83373d6ee7bdb8ca25b1e2724954dbbcf36fb7
parent9bd55acf5e74cd2ad39e993b4d0fa9d7eb40abf4 (diff)
Notes
-rw-r--r--sys/dev/ixgbe/ixgbe.c6
1 files 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,