linux/include
Michael Chan b0da853703 [NET]: Add ECN support for TSO
In the current TSO implementation, NETIF_F_TSO and ECN cannot be
turned on together in a TCP connection.  The problem is that most
hardware that supports TSO does not handle CWR correctly if it is set
in the TSO packet.  Correct handling requires CWR to be set in the
first packet only if it is set in the TSO header.

This patch adds the ability to turn on NETIF_F_TSO and ECN using
GSO if necessary to handle TSO packets with CWR set.  Hardware
that handles CWR correctly can turn on NETIF_F_TSO_ECN in the dev->
features flag.

All TSO packets with CWR set will have the SKB_GSO_TCPV4_ECN set.  If
the output device does not have the NETIF_F_TSO_ECN feature set, GSO
will split the packet up correctly with CWR only set in the first
segment.

With help from Herbert Xu <herbert@gondor.apana.org.au>.

Since ECN can always be enabled with TSO, the SOCK_NO_LARGESEND sock
flag is completely removed.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-29 16:58:08 -07:00
..
acpi Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2006-06-23 07:52:36 -07:00
asm-alpha [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-arm [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-arm26 [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-cris [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-frv [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-generic [PATCH] Add EXPORT_UNUSED_SYMBOL and EXPORT_UNUSED_SYMBOL_GPL 2006-06-28 14:59:04 -07:00
asm-h8300 [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-i386 [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-ia64 [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-m32r [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-m68k [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-m68knommu [PATCH] m68knommu: fix clobber list in uCdimm/uCsimm helper asm 2006-06-28 15:03:47 -07:00
asm-mips [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-parisc [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-powerpc [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-ppc Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6 2006-06-29 14:19:21 -07:00
asm-s390 [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-sh [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-sh64 [PATCH] genirq: add ->retrigger() irq op to consolidate hw_irq_resend() 2006-06-29 10:26:23 -07:00
asm-sparc [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-sparc64 [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-um [PATCH] genirq: add ->retrigger() irq op to consolidate hw_irq_resend() 2006-06-29 10:26:23 -07:00
asm-v850 [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-x86_64 [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
asm-xtensa [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
keys [PATCH] keys: discard the contents of a key on revocation 2006-06-26 09:58:18 -07:00
linux [NET]: Add ECN support for TSO 2006-06-29 16:58:08 -07:00
math-emu
media Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6 2006-06-29 14:19:21 -07:00
mtd Merge git://git.infradead.org/hdrcleanup-2.6 2006-06-20 15:10:08 -07:00
net [NET]: Add ECN support for TSO 2006-06-29 16:58:08 -07:00
pcmcia
rdma IB/uverbs: Don't serialize with ib_uverbs_idr_mutex 2006-06-17 20:44:49 -07:00
rxrpc
scsi Merge branch 'master' into upstream 2006-06-22 22:11:56 -04:00
sound [ALSA] ak4xxx-adda - Code clean-up 2006-06-28 19:31:09 +02:00
video