ixgbe: Disable DROP_EN for Rx queues
authorPJ Waskiewicz <peter.p.waskiewicz.jr@intel.com>
Fri, 13 Mar 2009 22:13:08 +0000 (22:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 14 Mar 2009 19:41:07 +0000 (12:41 -0700)
82599 mistakenly enabled drop on Rx queues in the packet buffer.  The
default mode should be store-and-forward from the FIFO.

Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Acked-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c

index 86c8bad609b9b3f2b892409401da850f701308a0..881bbf97ff0c91e54f7929cf36a26ebbce10e05d 100644 (file)
@@ -1679,8 +1679,6 @@ static void ixgbe_configure_srrctl(struct ixgbe_adapter *adapter, int index)
                        srrctl |= rx_ring->rx_buf_len >>
                                  IXGBE_SRRCTL_BSIZEPKT_SHIFT;
        }
-       if (adapter->hw.mac.type == ixgbe_mac_82599EB)
-               srrctl |= IXGBE_SRRCTL_DROP_EN;
 
        IXGBE_WRITE_REG(&adapter->hw, IXGBE_SRRCTL(index), srrctl);
 }