diff options
author | Auke Kok <auke\-jan.h.kok@intel.com> | 2006-11-01 17:47:36 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-02 06:11:58 +0100 |
commit | 87ca4e5b8d729fc157a0a599d78ccab245fc0602 (patch) | |
tree | 69bec3c1d367d26253678e6fbd9eff184c68e7ee /drivers/net/e1000/e1000.h | |
parent | e1000: Remove DISABLE_MULR debug code (diff) | |
download | linux-87ca4e5b8d729fc157a0a599d78ccab245fc0602.tar.xz linux-87ca4e5b8d729fc157a0a599d78ccab245fc0602.zip |
e1000: FIX: enable hw TSO for IPV6
Enable TSO for IPV6. All e1000 hardware supports it. This reduces CPU
utilizations by 50% when transmitting IPv6 frames.
Fix symbol naming enabling ipv6 TSO. Turn off TSO6 for 10/100.
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/e1000/e1000.h')
-rw-r--r-- | drivers/net/e1000/e1000.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000.h b/drivers/net/e1000/e1000.h index 7ecce438d258..3f0be02e85e2 100644 --- a/drivers/net/e1000/e1000.h +++ b/drivers/net/e1000/e1000.h @@ -59,6 +59,9 @@ #include <linux/capability.h> #include <linux/in.h> #include <linux/ip.h> +#ifdef NETIF_F_TSO6 +#include <linux/ipv6.h> +#endif #include <linux/tcp.h> #include <linux/udp.h> #include <net/pkt_sched.h> |