Date: Thu, 12 Apr 2018 19:06:15 +0000 (UTC) From: Stephen Hurd <shurd@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r332447 - stable/11/sys/dev/ixgbe Message-ID: <201804121906.w3CJ6FZo092138@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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@efficientip.com> Reported by: Cassiano Peixoto <peixoto.cassiano@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804121906.w3CJ6FZo092138>