diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-08-23 11:48:48 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-24 16:39:18 -0700 |
commit | 313dc689b16c08b081939ee9b87dac3736c780e3 (patch) | |
tree | 473f175b8e96dd7f404e10872d2353ce4e895838 /drivers/s390/net | |
parent | 7c47f5afdeef763599f1ae22d29b8c3904c58315 (diff) |
s390/qdio: let drivers opt-out from Output Queue scanning
If a driver wants to use the new Output Queue poll code, then the qdio
layer must disable its internal Queue scanning. Let the driver select
this mode by passing a special scan_threshold of 0.
As the scan_threshold is the same for all Output Queues, also move it
into the main qdio_irq struct. This allows for fast opt-out checking, a
driver is expected to operate either _all_ or none of its Output Queues
in polling mode.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Acked-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/net')
0 files changed, 0 insertions, 0 deletions