summaryrefslogtreecommitdiffstats
path: root/drivers/hv/connection.c
diff options
context:
space:
mode:
authorBranden Bonaby <brandonbonaby94@gmail.com>2019-10-03 23:01:49 +0200
committerSasha Levin <sashal@kernel.org>2019-11-22 02:10:44 +0100
commitaf9ca6f9bb16e446a44393a797d0ae74d356a5c7 (patch)
tree680048b102f151af1f8cec990e374ff0721c2284 /drivers/hv/connection.c
parentvideo: hyperv: hyperv_fb: Support deferred IO for Hyper-V frame buffer driver (diff)
downloadlinux-af9ca6f9bb16e446a44393a797d0ae74d356a5c7.tar.xz
linux-af9ca6f9bb16e446a44393a797d0ae74d356a5c7.zip
drivers: hv: vmbus: Introduce latency testing
Introduce user specified latency in the packet reception path By exposing the test parameters as part of the debugfs channel attributes. We will control the testing state via these attributes. Signed-off-by: Branden Bonaby <brandonbonaby94@gmail.com> Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/hv/connection.c')
-rw-r--r--drivers/hv/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hv/connection.c b/drivers/hv/connection.c
index 0475be4356dd..e947c39d4cc7 100644
--- a/drivers/hv/connection.c
+++ b/drivers/hv/connection.c
@@ -363,6 +363,7 @@ void vmbus_on_event(unsigned long data)
trace_vmbus_on_event(channel);
+ hv_debug_delay_test(channel, INTERRUPT_DELAY);
do {
void (*callback_fn)(void *);