s390: scatter-gather for inbound traffic in qeth driver
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Thu, 12 Jul 2007 10:51:34 +0000 (12:51 +0200)
committerJeff Garzik <jeff@garzik.org>
Mon, 16 Jul 2007 22:28:04 +0000 (18:28 -0400)
commitaa617aa9568e5fc80103194f5a6da2977c305f10
treef9ca79404a596e65d50539073b71abdffe86edc3
parent44c821525778c5d2e81da293195d5d589e8ad845
s390: scatter-gather for inbound traffic in qeth driver

For large incoming packets > PAGE_SIZE/2 qeth creates a fragmented skb
by adding pointers to qdio pages to the fragment list of the skb.
This avoids allocating big chunks of consecutive memory. Also copying
data from the qdio buffer to the skb is economized.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: Ursula Braun <braunu@de.ibm.com>
Signed-off-by: Frank Pavlic <fpavlic@de.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/s390/net/qeth.h
drivers/s390/net/qeth_main.c
drivers/s390/net/qeth_proc.c