svn commit: r332447 - stable/11/sys/dev/ixgbe

Stephen Hurd shurd at FreeBSD.org
Thu Apr 12 19:06:16 UTC 2018


Author: shurd
Date: Thu Apr 12 19:06:15 2018
New Revision: 332447
URL: https://svnweb.freebsd.org/changeset/base/332447

Log:
  Work around netmap issue with ixgbe
  
  After multiple start/stop of netmap, ixgbe will get into a bad state
  requiring a reboot to recover.  Adding a delay before stopping the interface
  appears to work around the issue.
  
  The -CURRENT driver has diverged too far from -STABLE for an MFC.
  
  PR:		221317
  Submitted by:	Sylvain Galliano <sg at efficientip.com>
  Reported by:	Cassiano Peixoto <peixoto.cassiano at gmail.com>
  Sponsored by:	Limelight Networks

Modified:
  stable/11/sys/dev/ixgbe/if_ix.c

Modified: stable/11/sys/dev/ixgbe/if_ix.c
==============================================================================
--- stable/11/sys/dev/ixgbe/if_ix.c	Thu Apr 12 19:00:22 2018	(r332446)
+++ stable/11/sys/dev/ixgbe/if_ix.c	Thu Apr 12 19:06:15 2018	(r332447)
@@ -3567,6 +3567,8 @@ ixgbe_stop(void *arg)
 
 	mtx_assert(&adapter->core_mtx, MA_OWNED);
 
+	msec_delay(1000);
+
 	INIT_DEBUGOUT("ixgbe_stop: begin\n");
 	ixgbe_disable_intr(adapter);
 	callout_stop(&adapter->timer);


More information about the svn-src-all mailing list