s390/qeth: extract qdio buffers from output buffer struct
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 27 Jun 2014 15:09:25 +0000 (17:09 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 22 Jul 2014 07:26:15 +0000 (09:26 +0200)
commitd445a4e28c0ff740e946ae22860be85428814c39
tree500daa23bf7efe87fa5e1bbb91f77994f041e787
parent6d284bde2beef9d4d067281b08f86554f41de799
s390/qeth: extract qdio buffers from output buffer struct

Because of the embedded qdio_buffer array struct qeth_qdio_out_q is
quite large resulting in an order 4 allocation. This is likely to
fail at runtime and wastes a lot of memory since the actual size is
just about 34K.

Since there is no need for this buffer to be contiguous split it up
using qdio buffer helpers.

Reported-by: Neale Ferguson <neale@sinenomine.net>
Reviewed-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c