]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit32791a1e086a6b87c046ae3cbce58988f29e803c
treee70a3650bb5114e47f9899fd63f018bcc61818a5
parenteb93486c50ca65a950a90b6565e51cc5871bd163
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