Author: melifaro
Date: Sun Nov 16 18:08:00 2014
New Revision: 274588
URL: https://svnweb.freebsd.org/changeset/base/274588

Log:
  Fix r273112: do not turn DROP_EN by default.
  
  Due to adapter->hw.fc.requested_mode is filled with default value
  after ixgbe_initialize_receive_units(), this leads to enabling
  DROP_EN in most cases.
  
  Tested by:    ae
  MFC after:    1 week

Modified:
  head/sys/dev/ixgbe/ixgbe.c

Modified: head/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- head/sys/dev/ixgbe/ixgbe.c  Sun Nov 16 17:53:48 2014        (r274587)
+++ head/sys/dev/ixgbe/ixgbe.c  Sun Nov 16 18:08:00 2014        (r274588)
@@ -4385,7 +4385,7 @@ ixgbe_initialize_receive_units(struct ad
                 * this code is moved elsewhere.
                 */
                if (adapter->num_queues > 1 &&
-                   adapter->hw.fc.requested_mode == ixgbe_fc_none) {
+                   adapter->fc == ixgbe_fc_none) {
                        srrctl |= IXGBE_SRRCTL_DROP_EN;
                } else {
                        srrctl &= ~IXGBE_SRRCTL_DROP_EN;
_______________________________________________
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