Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2a5c43a8 authored by K. Y. Srinivasan's avatar K. Y. Srinivasan Committed by Greg Kroah-Hartman
Browse files

Drivers: hv: Enable protocol negotiation with win8 hosts



Now that we have implemented all of the Win8 (WS2012) functionality, negotiate
Win8 protocol with the host.

Signed-off-by: default avatarK. Y. Srinivasan <kys@microsoft.com>
Reviewed-by: default avatarHaiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5ab05951
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -194,7 +194,7 @@ int vmbus_connect(void)
	 * version.
	 * version.
	 */
	 */


	version = VERSION_WS2008;
	version = VERSION_CURRENT;


	do {
	do {
		ret = vmbus_negotiate_version(msginfo, version);
		ret = vmbus_negotiate_version(msginfo, version);
+1 −0
Original line number Original line Diff line number Diff line
@@ -434,6 +434,7 @@ hv_get_ringbuffer_availbytes(struct hv_ring_buffer_info *rbi,


#define VERSION_INVAL -1
#define VERSION_INVAL -1


#define VERSION_CURRENT VERSION_WIN8


/* Make maximum size of pipe payload of 16K */
/* Make maximum size of pipe payload of 16K */
#define MAX_PIPE_DATA_PAYLOAD		(sizeof(u8) * 16384)
#define MAX_PIPE_DATA_PAYLOAD		(sizeof(u8) * 16384)