]> bbs.cooldavid.org Git - net-next-2.6.git/commit - net/core/dev.c
[NET]: Add generic segmentation offload
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Jun 2006 09:57:17 +0000 (02:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 23 Jun 2006 09:07:31 +0000 (02:07 -0700)
commitf6a78bfcb141f963187464bac838d46a81c3882a
treefe30917dea1ab4cc046c6f1b8c1875373040c84a
parent7967168cefdbc63bf332d6b1548eca7cd65ebbcc
[NET]: Add generic segmentation offload

This patch adds the infrastructure for generic segmentation offload.
The idea is to tap into the potential savings of TSO without hardware
support by postponing the allocation of segmented skb's until just
before the entry point into the NIC driver.

The same structure can be used to support software IPv6 TSO, as well as
UFO and segmentation offload for other relevant protocols, e.g., DCCP.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c
net/sched/sch_generic.c