linux/include/net
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
..
bluetooth
irda
netfilter
sctp
tc_act
tipc [TIPC]: Corrected potential misuse of tipc_media_addr structure. 2006-06-25 23:38:29 -07:00
act_api.h
act_generic.h
addrconf.h
af_unix.h [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
ah.h
arp.h
atmclip.h
ax25.h
checksum.h
compat.h
datalink.h
dn.h
dn_dev.h
dn_fib.h
dn_neigh.h
dn_nsp.h
dn_route.h
dsfield.h
dst.h
esp.h
flow.h
gen_stats.h
genetlink.h
icmp.h
ieee80211.h
ieee80211_crypt.h
ieee80211_radiotap.h
ieee80211softmac.h
ieee80211softmac_wx.h
if_inet6.h
inet6_connection_sock.h
inet6_hashtables.h
inet_common.h
inet_connection_sock.h
inet_ecn.h
inet_hashtables.h
inet_sock.h
inet_timewait_sock.h
inetpeer.h
ip.h
ip6_checksum.h
ip6_fib.h
ip6_route.h
ip6_tunnel.h
ip_fib.h
ip_mp_alg.h
ip_vs.h
ipcomp.h
ipconfig.h
ipip.h
ipv6.h
ipx.h
iw_handler.h
lapb.h
llc.h
llc_c_ac.h
llc_c_ev.h
llc_c_st.h
llc_conn.h
llc_if.h
llc_pdu.h
llc_s_ac.h
llc_s_ev.h
llc_s_st.h
llc_sap.h
ndisc.h
neighbour.h
netdma.h
netlink.h
netrom.h
p8022.h
pkt_act.h
pkt_cls.h
pkt_sched.h [PKT_SCHED]: PSCHED_TADD() and PSCHED_TADD2() can result,tv_usec >= 1000000 2006-06-29 16:58:01 -07:00
protocol.h [NET]: Added GSO header verification 2006-06-29 16:57:53 -07:00
psnap.h
raw.h
rawv6.h
red.h
request_sock.h
rose.h
route.h
sch_generic.h
scm.h [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
slhc_vj.h
snmp.h
sock.h [NET]: Add ECN support for TSO 2006-06-29 16:58:08 -07:00
syncppp.h
tcp.h [NET]: Added GSO header verification 2006-06-29 16:57:53 -07:00
tcp_ecn.h [NET]: Add ECN support for TSO 2006-06-29 16:58:08 -07:00
tcp_states.h
timewait_sock.h
transp_v6.h
udp.h
x25.h
x25device.h
xfrm.h