From owner-svn-src-all@FreeBSD.ORG Fri Jun 11 19:03:59 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A3059106567D; Fri, 11 Jun 2010 19:03:59 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from svn.freebsd.org (unknown [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 903178FC14; Fri, 11 Jun 2010 19:03:59 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o5BJ3x75062602; Fri, 11 Jun 2010 19:03:59 GMT (envelope-from jfv@svn.freebsd.org) Received: (from jfv@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o5BJ3xp1062600; Fri, 11 Jun 2010 19:03:59 GMT (envelope-from jfv@svn.freebsd.org) Message-Id: <201006111903.o5BJ3xp1062600@svn.freebsd.org> From: Jack F Vogel Date: Fri, 11 Jun 2010 19:03:59 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209060 - head/sys/dev/ixgbe X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jun 2010 19:03:59 -0000 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);