]> asedeno.scripts.mit.edu Git - linux.git/commit
vmbus: add direct isr callback mode
authorStephen Hemminger <stephen@networkplumber.org>
Sun, 12 Feb 2017 06:02:21 +0000 (23:02 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Feb 2017 18:20:35 +0000 (10:20 -0800)
commitb71e328297a3a578c482fb4814e737a0ec185839
treef18a93257c4d74332dafe953ef28da9809bf2bc8
parent631e63a9f346cb657761ae22138f294718696501
vmbus: add direct isr callback mode

Change the simple boolean batched_reading into a tri-value.
For future NAPI support in netvsc driver, the callback needs to
occur directly in interrupt handler.

Batched mode is also changed to disable host interrupts immediately
in interrupt routine (to avoid unnecessary host signals), and the
tasklet is rescheduled if more data is detected.

Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel_mgmt.c
drivers/hv/connection.c
drivers/hv/hv_util.c
drivers/hv/vmbus_drv.c
drivers/uio/uio_hv_generic.c
include/linux/hyperv.h