]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
s390/qdio: add helpers to manage qdio buffers
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 27 Jun 2014 14:56:18 +0000 (16:56 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Tue, 22 Jul 2014 07:26:13 +0000 (09:26 +0200)
commit5245c924c2191ee0f39d8586a57178baba13dbf2
tree7e444c0c8c7e0e51acd20dd7b21450e2c2ef4b5f
parent15ba2236f3556fc01b9ca91394465152b5ea74b6
s390/qdio: add helpers to manage qdio buffers

Users of qdio buffers employ different strategies to manage these
buffers. The qeth driver uses huge contiguous buffers which leads
to high order allocations with all their downsides.

This patch provides helpers to allocate, free, and reset arrays of
qdio buffers using non contiguous pages.

Reviewed-by: Martin Peschke <mpeschke@linux.vnet.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/qdio.h
drivers/s390/cio/qdio_setup.c