s390/qdio: add IRQ reduction for error SBALs
authorJulian Wiedmann <jwi@linux.ibm.com>
Tue, 21 Apr 2020 08:38:18 +0000 (10:38 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Wed, 20 May 2020 08:22:50 +0000 (10:22 +0200)
commitc70d82e96644bd660ea53209c19f75cd86c560d6
treea36f9bbd30c61b5ef70ecd1b509b1c6dd43aa473
parent1db85d0e73f3b017c63afcdec1197d4d0736c362
s390/qdio: add IRQ reduction for error SBALs

SBALs in PRIMED or ERROR state represent new work on the Input Queue.
But while inbound_primed() does all sorts of ACK management for new
PRIMED work, the same handling is currently missing for ERROR work.
In particular the path for ERROR work doesn't clear up _old_ ACKs.

Treat ERROR work the same as PRIMED work, but consider that the QEBSM
auto-ACK feature doesn't apply here. So we need to set the ACK manually,
as if it was a non-QEBSM device.

Note that this doesn't aspire to actually improve performance, the main
goal is to just unify the code paths and have consistent behaviour.

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