]> git.baikalelectronics.ru Git - kernel.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)
commit2655aaf7c2a0edb9120536d0ea175fe2ba46d83b
tree7e444c0c8c7e0e51acd20dd7b21450e2c2ef4b5f
parent92d953032179b4d597f6b4e941e7085fc192dcfd
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