e1000e: set flow control thresholds properly after enabling/disabling pause
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 19 Nov 2009 12:35:08 +0000 (12:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Nov 2009 21:53:24 +0000 (13:53 -0800)
commit29afd690636dab36fe437c54b3a9d5e093bdcd9b
tree42db5a68f6e3d8b27226cf46aad7376f930fec9e
parent842ec8b64ac34e9b245da31b4a5a49c3e744a714
e1000e: set flow control thresholds properly after enabling/disabling pause

When flow control (pause) parameters were changed via ethtool (i.e. enabled
or disabled), the newly calculated thresholds were not being written to the
device for non-fiber media.

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