1
linux/drivers/s390
Herbert Xu 7967168cef [NET]: Merge TSO/UFO fields in sk_buff
Having separate fields in sk_buff for TSO/UFO (tso_size/ufo_size) is not
going to scale if we add any more segmentation methods (e.g., DCCP).  So
let's merge them.

They were used to tell the protocol of a packet.  This function has been
subsumed by the new gso_type field.  This is essentially a set of netdev
feature bits (shifted by 16 bits) that are required to process a specific
skb.  As such it's easy to tell whether a given device can process a GSO
skb: you just have to and the gso_type field and the netdev's features
field.

I've made gso_type a conjunction.  The idea is that you have a base type
(e.g., SKB_GSO_TCPV4) that can be modified further to support new features.
For example, if we add a hardware TSO type that supports ECN, they would
declare NETIF_F_TSO | NETIF_F_TSO_ECN.  All TSO packets with CWR set would
have a gso_type of SKB_GSO_TCPV4 | SKB_GSO_TCPV4_ECN while all other TSO
packets would be SKB_GSO_TCPV4.  This means that only the CWR packets need
to be emulated in software.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-23 02:07:29 -07:00
..
block [PATCH] s390: dasd device identifiers 2006-04-28 08:33:48 -07:00
char [PATCH] s390: tape 3590 changes 2006-04-28 08:33:48 -07:00
cio [PATCH] s390: cio non-unique path group ids 2006-06-05 12:29:16 -07:00
crypto Move user-visible parts of drivers/s390/crypto/z90crypt.h to include/asm-s390 2006-05-08 15:51:57 +01:00
net [NET]: Merge TSO/UFO fields in sk_buff 2006-06-23 02:07:29 -07:00
scsi [SCSI] zfcp: bump up version number 2006-05-28 12:50:45 -04:00
ebcdic.c
Kconfig [PATCH] s390: 3590 tape driver 2006-03-24 07:33:18 -08:00
Makefile [PATCH] s390: move s390_root_dev_* out of the cio layer 2006-01-06 08:33:49 -08:00
s390_rdev.c [PATCH] s390: kzalloc() conversion in drivers/s390 2006-03-24 07:33:18 -08:00
s390mach.c [PATCH] s390: fix ipd handling 2006-05-01 18:17:46 -07:00
s390mach.h [PATCH] s390: Add missing memory constraint to stcrw() 2006-02-01 08:53:24 -08:00
sysinfo.c [PATCH] s390: cleanup Kconfig 2006-01-06 08:33:53 -08:00