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 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5b2ad270529ff8abfd8a324ceece1ae1704875a0 (diff) |
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 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions