svn commit: r196844 - head/sys/dev/ixgbe
Jack F Vogel
jfv at FreeBSD.org
Fri Sep 4 22:45:08 UTC 2009
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);
}
More information about the svn-src-all
mailing list