qeth: rework TSO functions
authorFrank Blaschka <frank.blaschka@de.ibm.com>
Thu, 12 Nov 2009 00:11:44 +0000 (00:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Nov 2009 10:42:08 +0000 (02:42 -0800)
commitc3b4a740db3688b245282ac957a01f3fb8d1186d
treeca05c6e683b5b2371ba265aa6db9536441f94f1a
parentaa90922479513db0d080239324d0d04701418ba5
qeth: rework TSO functions

The maximum TSO size OSA can handle is 15 * PAGE_SIZE. This
patch reduces gso_max_size to this value and adds some sanity
checks and statistics to the TSO implementation.
Since only layer 3 is able to do TSO move all TSO related functions
to the qeth_l3 module.

Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_core_sys.c
drivers/s390/net/qeth_l2_main.c
drivers/s390/net/qeth_l3.h
drivers/s390/net/qeth_l3_main.c
drivers/s390/net/qeth_l3_sys.c