Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 18:40:27 +0000 (UTC)
From:      Jack F Vogel <jfv@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r194988 - head/sys/dev/ixgbe
Message-ID:  <200906251840.n5PIeRFH060746@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jfv
Date: Thu Jun 25 18:40:27 2009
New Revision: 194988
URL: http://svn.freebsd.org/changeset/base/194988

Log:
  Decided to limit the interrupt bind to multiqueue
  config as done in igb.

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Thu Jun 25 18:35:19 2009	(r194987)
+++ head/sys/dev/ixgbe/ixgbe.c	Thu Jun 25 18:40:27 2009	(r194988)
@@ -2156,7 +2156,8 @@ ixgbe_allocate_msix(struct adapter *adap
 		** 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 *adap
 		** 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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906251840.n5PIeRFH060746>