aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe
diff options
context:
space:
mode:
authorDon Skidmore <donald.c.skidmore@intel.com>2009-03-31 17:33:44 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-02 04:02:30 -0400
commitcd7664f69fe1f3f75b664503ae3e11a2971a4865 (patch)
tree6f287f6f4c977c6468a40f3ea3385f516b4009ca /drivers/net/ixgbe
parentea4af4f447ecad42f8bffa4bd2278e183ba5ec9d (diff)
ixgbe: feature - driver to default with FC on.
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>
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index fd27513a92f6..8f6e263787df 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -3169,7 +3169,7 @@ static int __devinit ixgbe_sw_init(struct ixgbe_adapter *adapter)
3169#endif 3169#endif
3170 3170
3171 /* default flow control settings */ 3171 /* default flow control settings */
3172 hw->fc.requested_mode = ixgbe_fc_none; 3172 hw->fc.requested_mode = ixgbe_fc_full;
3173 hw->fc.high_water = IXGBE_DEFAULT_FCRTH; 3173 hw->fc.high_water = IXGBE_DEFAULT_FCRTH;
3174 hw->fc.low_water = IXGBE_DEFAULT_FCRTL; 3174 hw->fc.low_water = IXGBE_DEFAULT_FCRTL;
3175 hw->fc.pause_time = IXGBE_DEFAULT_FCPAUSE; 3175 hw->fc.pause_time = IXGBE_DEFAULT_FCPAUSE;