]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ixgbe: feature - driver to default with FC on.
authorDon Skidmore <donald.c.skidmore@intel.com>
Tue, 31 Mar 2009 21:33:44 +0000 (21:33 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2009 08:02:30 +0000 (01:02 -0700)
In the past flow control wasn't enabled by default under the
incorrect assumption that this opened up us to a denial of
service attack.  However since any switch that forwarded flow
control would be extremely msiconfigured and/or buggy, this
concern no longer out weighs the preformance gains from
having FC enabled.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Acked-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@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 fd27513a92f6134f2bd3d04094755e165410d3c9..8f6e263787dfd7a5d40c7b40db27da0a2deb887a 100644 (file)
@@ -3169,7 +3169,7 @@ static int __devinit ixgbe_sw_init(struct ixgbe_adapter *adapter)
 #endif
 
        /* default flow control settings */
-       hw->fc.requested_mode = ixgbe_fc_none;
+       hw->fc.requested_mode = ixgbe_fc_full;
        hw->fc.high_water = IXGBE_DEFAULT_FCRTH;
        hw->fc.low_water = IXGBE_DEFAULT_FCRTL;
        hw->fc.pause_time = IXGBE_DEFAULT_FCPAUSE;