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
This commit is contained in:
melifaro 2014-11-16 18:08:00 +00:00
parent 23637dec8b
commit f66efc9ccc

View File

@ -4385,7 +4385,7 @@ ixgbe_initialize_receive_units(struct adapter *adapter)
* 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;