Author: jfv
Date: Thu Aug 19 17:00:33 2010
New Revision: 211516
URL: http://svn.freebsd.org/changeset/base/211516

Log:
  Eliminate the ambiguous queue setting logic for
  the VF, it made it possible to have 2 queues which
  we don't want, the HOST is unable to handle it.

Modified:
  head/sys/dev/e1000/if_igb.c

Modified: head/sys/dev/e1000/if_igb.c
==============================================================================
--- head/sys/dev/e1000/if_igb.c Thu Aug 19 16:41:27 2010        (r211515)
+++ head/sys/dev/e1000/if_igb.c Thu Aug 19 17:00:33 2010        (r211516)
@@ -2473,8 +2473,8 @@ igb_setup_msix(struct adapter *adapter)
        if ((adapter->hw.mac.type == e1000_82575) && (queues > 4))
                queues = 4;
 
-       /* Limit the VF adapter to one queues */
-       if ((adapter->hw.mac.type == e1000_vfadapt) && (queues > 2))
+       /* Limit the VF adapter to one queue */
+       if (adapter->hw.mac.type == e1000_vfadapt)
                queues = 1;
 
        /*
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to