From owner-svn-src-all@FreeBSD.ORG Fri Sep 4 22:45:08 2009 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 225B01065672; Fri, 4 Sep 2009 22:45:08 +0000 (UTC) (envelope-from jfv@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 1226A8FC15; Fri, 4 Sep 2009 22:45:08 +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 n84Mj7lE022971; Fri, 4 Sep 2009 22:45:07 GMT (envelope-from jfv@svn.freebsd.org) Received: (from jfv@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n84Mj709022969; Fri, 4 Sep 2009 22:45:07 GMT (envelope-from jfv@svn.freebsd.org) Message-Id: <200909042245.n84Mj709022969@svn.freebsd.org> From: Jack F Vogel Date: Fri, 4 Sep 2009 22:45:07 +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: r196844 - 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, 04 Sep 2009 22:45:08 -0000 Author: jfv Date: Fri Sep 4 22:45:07 2009 New Revision: 196844 URL: http://svn.freebsd.org/changeset/base/196844 Log: If an interface is brought up with no cable it will experience watchdog resets, this is due to a missing check for link in the new multiqueue start code. MFC: 3 days Modified: head/sys/dev/ixgbe/ixgbe.c Modified: head/sys/dev/ixgbe/ixgbe.c ============================================================================== --- head/sys/dev/ixgbe/ixgbe.c Fri Sep 4 22:37:03 2009 (r196843) +++ head/sys/dev/ixgbe/ixgbe.c Fri Sep 4 22:45:07 2009 (r196844) @@ -759,7 +759,8 @@ ixgbe_mq_start_locked(struct ifnet *ifp, struct mbuf *next; int err = 0; - if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { + if (((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) || + (!adapter->link_active)) { err = drbr_enqueue(ifp, txr->br, m); return (err); }