aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_setup.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-11-25 14:18:29 +0100
committerVasily Gorbik <gor@linux.ibm.com>2020-02-10 12:49:35 +0100
commit0b6f499022b6a87d04f56edd2bf863ea76923206 (patch)
treeedae4fea767436a891a55f09442fb2e2fbcb0681 /drivers/s390/cio/qdio_setup.c
parents390/zcrypt: fix card and queue total counter wrap (diff)
downloadlinux-dev-0b6f499022b6a87d04f56edd2bf863ea76923206.tar.xz
linux-dev-0b6f499022b6a87d04f56edd2bf863ea76923206.zip
s390/qdio: simplify ACK tracking
Current code uses a 'polling' flag to keep track of whether an Input Queue has any ACKed SBALs. QEBSM devices might have multiple ACKed SBALs, and those are tracked separately with 'ack_count'. By also setting ack_count for non-QEBSM devices (to a fixed value of 1), we can use 'ack_count != 0' as replacement for the polling flag. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions