diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-07-01 15:19:29 +0300 |
---|---|---|
committer | Heiko Carstens <heiko.carstens@de.ibm.com> | 2019-07-23 11:44:03 +0300 |
commit | 69e96207ebf90ff8d5bac457134b0d4569f6634e (patch) | |
tree | c5ea00973f5de96cd5cc5ed15684603b5ce86576 /drivers/md/dm-snap-persistent.c | |
parent | a6ec414a4dd529eeac5c3ea51c661daba3397108 (diff) | |
download | linux-69e96207ebf90ff8d5bac457134b0d4569f6634e.tar.xz |
s390/qdio: restrict QAOB usage to IQD unicast queues
The IQD mcast queue doesn't support QAOB mode, so skip the
qdio_enable_async_operation() setup call for this queue. This avoids
the allocation of an unneeded QAOB pointer array, and sets up q->use_cq
properly so that drivers are prohibited from using QAOBs for mcast
traffic.
Take this opportunity to streamline the q->use_cq and aob != 0 checks.
The path to qdio_siga_output() is straight-forward, we don't need to
worry about being called with bad operands.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Diffstat (limited to 'drivers/md/dm-snap-persistent.c')
0 files changed, 0 insertions, 0 deletions