diff options
author | jfv <jfv@FreeBSD.org> | 2009-06-25 18:40:27 +0000 |
---|---|---|
committer | jfv <jfv@FreeBSD.org> | 2009-06-25 18:40:27 +0000 |
commit | d8f38efe5e89859e90c330eda853ab6e856ecb59 (patch) | |
tree | 4d83373d6ee7bdb8ca25b1e2724954dbbcf36fb7 /sys/dev/ixgbe/ixgbe.c | |
parent | e059cd9143faa34a2e3352165b9bc573d50b7081 (diff) | |
download | FreeBSD-src-d8f38efe5e89859e90c330eda853ab6e856ecb59.zip FreeBSD-src-d8f38efe5e89859e90c330eda853ab6e856ecb59.tar.gz |
Decided to limit the interrupt bind to multiqueue
config as done in igb.
Diffstat (limited to 'sys/dev/ixgbe/ixgbe.c')
-rw-r--r-- | sys/dev/ixgbe/ixgbe.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/ixgbe/ixgbe.c b/sys/dev/ixgbe/ixgbe.c index c6e63ec..040863c 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, |