s390/qdio: refactor ACK processing for primed SBALs
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 21 Apr 2020 08:26:22 +0000 (10:26 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 20 May 2020 08:22:50 +0000 (10:22 +0200)
commit1db85d0e73f3b017c63afcdec1197d4d0736c362
treee70a3650bb5114e47f9899fd63f018bcc61818a5
parent9de6c08700ce9fab4589c1a44cec2a21812ab565
s390/qdio: refactor ACK processing for primed SBALs

inbound_primed() currently has two code paths - one for QEBSM that knows
how to deal with multiple ACKs, and a non-QEBSM path that strictly
assumes a single ACK on the queue.

In preparation for a subsequent patch, slightly adjust the non-QEBSM
path so that it can manage a queue with multiple ACKs.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
drivers/s390/cio/qdio_main.c