e1000e: flow control doesn't re-enable
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 28 Oct 2009 18:28:30 +0000 (18:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Oct 2009 08:04:05 +0000 (01:04 -0700)
commit945eb31337c2a8a09a62dcf5aca260bcde9c2a6c
treedc4e75d957da9a68267aec8b7078791bfb2d7407
parentd6534799410d2b53e5e80b8a90d6a8bab3de30ed
e1000e: flow control doesn't re-enable

When changing flow control (pause) parameters, the flow control thresholds
(i.e. when to send XON/XOFF frames) may not be setup correctly on parts
with copper media.  Call the existing e1000_set_fc_watermarks()
function to set these thresholds.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/ethtool.c