aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/s390/cio/qdio_setup.c
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2019-08-23 11:48:47 +0200
committerDavid S. Miller <davem@davemloft.net>2019-08-24 16:39:18 -0700
commit7c47f5afdeef763599f1ae22d29b8c3904c58315 (patch)
tree0aa9265576bf9f2fb6fc67307a6200b0fd2809d0 /drivers/s390/cio/qdio_setup.c
parentbnxt_en: Fix allocation of zero statistics block size regression. (diff)
downloadlinux-dev-7c47f5afdeef763599f1ae22d29b8c3904c58315.tar.xz
linux-dev-7c47f5afdeef763599f1ae22d29b8c3904c58315.zip
s390/qdio: enable drivers to poll for Output completions
While commit d36deae75011 ("qdio: extend API to allow polling") enhanced the qdio layer so that drivers can poll their Input Queues, we don't have the corresponding infrastructure for Output Queues yet. Factor out a helper that scans a single QDIO Queue, so that qeth can implement TX NAPI on top of it. While doing so, remove the duplicated tracking of the next-to-scan index (q->first_to_check vs q->first_to_kick) in this code path. qdio_handle_aobs() needs to move slightly upwards in the code hierarchy, so that it's still called from the polling path. 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 '')
0 files changed, 0 insertions, 0 deletions