diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-11-25 14:18:29 +0100 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-02-10 12:49:35 +0100 |
commit | 0b6f499022b6a87d04f56edd2bf863ea76923206 (patch) | |
tree | edae4fea767436a891a55f09442fb2e2fbcb0681 /drivers/s390/cio/idset.c | |
parent | fcd98d4002539f1e381916fc1b6648938c1eac76 (diff) |
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 'drivers/s390/cio/idset.c')
0 files changed, 0 insertions, 0 deletions