Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2010 19:03:59 +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: r209060 - head/sys/dev/ixgbe
Message-ID:  <201006111903.o5BJ3xp1062600@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jfv
Date: Fri Jun 11 19:03:59 2010
New Revision: 209060
URL: http://svn.freebsd.org/changeset/base/209060

Log:
  Remove a disable_queue from the beginning of the
  interrupt handler, automask handles it.
  Also, add in msix vector descriptions.
  
  MFC for 8.1 asap

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

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c	Fri Jun 11 18:46:34 2010	(r209059)
+++ head/sys/dev/ixgbe/ixgbe.c	Fri Jun 11 19:03:59 2010	(r209060)
@@ -1365,7 +1365,6 @@ ixgbe_msix_que(void *arg)
 	bool		more_tx, more_rx;
 	u32		newitr = 0;
 
-	ixgbe_disable_queue(adapter, que->msix);
 	++que->irqs;
 
 	more_rx = ixgbe_rxeof(que, adapter->rx_process_limit);
@@ -2121,6 +2120,9 @@ ixgbe_allocate_msix(struct adapter *adap
 			device_printf(dev, "Failed to register QUE handler");
 			return (error);
 		}
+#if __FreeBSD_version >= 800504
+		bus_describe_intr(dev, que->res, que->tag, "que %d", i);
+#endif
 		que->msix = vector;
         	adapter->que_mask |= (u64)(1 << que->msix);
 		/*
@@ -2155,6 +2157,9 @@ ixgbe_allocate_msix(struct adapter *adap
 		device_printf(dev, "Failed to register LINK handler");
 		return (error);
 	}
+#if __FreeBSD_version >= 800504
+	bus_describe_intr(dev, adapter->res, adapter->tag, "link");
+#endif
 	adapter->linkvec = vector;
 	/* Tasklets for Link, SFP and Multispeed Fiber */
 	TASK_INIT(&adapter->link_task, 0, ixgbe_handle_link, adapter);



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