summaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
authorVitaly Kuznetsov <vkuznets@redhat.com>2016-11-06 22:14:06 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-07 10:01:16 +0100
commitd7edd31ba9a661f1a3f357b43e84e84e5fad9538 (patch)
tree75efad7e8aef2fa8c1d703ad5cd8b41d3b8a5e04 /drivers/hv
parentDrivers: hv: ring_buffer: count on wrap around mappings in get_next_pkt_raw()... (diff)
downloadlinux-d7edd31ba9a661f1a3f357b43e84e84e5fad9538.tar.xz
linux-d7edd31ba9a661f1a3f357b43e84e84e5fad9538.zip
Drivers: hv: utils: reduce HV_UTIL_NEGO_TIMEOUT timeout
I discovered that at least WS2016TP5 host has 60 seconds timeout for the ICMSGTYPE_NEGOTIATE message so we need to lower guest's timeout a little bit to make sure we always respond in time. Let's make it 55 seconds. Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/hyperv_vmbus.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hv/hyperv_vmbus.h b/drivers/hv/hyperv_vmbus.h
index a5b4442433c8..bdab7e7f2a15 100644
--- a/drivers/hv/hyperv_vmbus.h
+++ b/drivers/hv/hyperv_vmbus.h
@@ -38,7 +38,7 @@
/*
* Timeout for guest-host handshake for services.
*/
-#define HV_UTIL_NEGO_TIMEOUT 60
+#define HV_UTIL_NEGO_TIMEOUT 55
/*
* The below CPUID leaves are present if VersionAndFeatures.HypervisorPresent