e1000: only enable TSO6 via ethtool when using correct hardware
authorAndy Gospodarek <andy@greyhouse.net>
Thu, 19 Jun 2008 21:19:02 +0000 (17:19 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 27 Jun 2008 05:31:08 +0000 (01:31 -0400)
commit581abbc26a7adb693fb8b913f1be18d1c349c1ab
tree3aaaa1dc2722f52dc4f04599757e8e3dc3754b30
parent1923815d855e1daec931fc9f2221fb73ca708870
e1000: only enable TSO6 via ethtool when using correct hardware

When enabling TSO via ethool on e1000, it is possible to set
NETIF_F_TSO6 on hardware that does not support it.  Setting TSO via
ethtool now matches the settings used when the hardware is probed.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/e1000/e1000_ethtool.c