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);
        }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to