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 <s...@efficientip.com>
  Reported by:  Cassiano Peixoto <peixoto.cassi...@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);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to