Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Sep 2009 22:45:07 +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: r196844 - head/sys/dev/ixgbe
Message-ID:  <200909042245.n84Mj709022969@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}



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