Julian Wiedmann a698e13728 s390/qdio: optimize state inspection of HW-owned SBALs
When get_buf_states() gets called with count > 1, it scans the
corresponding number of SBAL states until it encounters a mismatch.

But when these SBALs are in a HW-owned state, the callers don't actually
care _how many_ such SBALs are on the queue. If we can't process the
first SBAL, we can't process any of the following SBALs either. So when
the first SBAL is HW-owned, skip the scan of the remaining SBALs and
thus save some CPU time.

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>
2019-05-08 15:01:23 +02:00
..
2019-02-05 14:29:23 +01:00
2019-04-29 10:47:01 +02:00
2019-04-29 10:47:01 +02:00
2018-10-31 08:54:16 -07:00
2018-07-17 07:27:55 +02:00
2018-07-17 07:27:55 +02:00
2019-04-24 14:18:51 +02:00
2018-04-10 07:38:59 +02:00
2018-02-05 07:34:52 +01:00