diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-04-08 13:32:12 +0200 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2019-04-18 10:10:32 +0200 |
commit | 6bcf74e2d15c8339f0e4a0f0613638873098e85f (patch) | |
tree | 2d29631382de324ec33fddf64a6dd394d5024fe2 /crypto/gcm.c | |
parent | s390/qdio: limit direct access to first_to_check cursor (diff) | |
download | linux-dev-6bcf74e2d15c8339f0e4a0f0613638873098e85f.tar.xz linux-dev-6bcf74e2d15c8339f0e4a0f0613638873098e85f.zip |
s390/qdio: consolidate index tracking for queue scan
qdio.ko offers a small number of high-level functions to drive the
scanning of a QDIO queue for ready-to-process SBALs:
qdio_get_next_buffers(), __[ti]qdio_inbound_processing() and
__qdio_outbound_processing().
Let each of those functions maintain the 'start' index for their current
scan, and pass it to lower-level helpers as needed. This improves the
code's overall layering, and allows us to eliminate the additional
first_to_kick cursor with a follow-on patch.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Jens Remus <jremus@linux.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'crypto/gcm.c')
0 files changed, 0 insertions, 0 deletions