aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hv
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hv')
-rw-r--r--drivers/hv/channel_mgmt.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/hv/channel_mgmt.c b/drivers/hv/channel_mgmt.c
index 2f84c5cff8d4..7bf59177aaf8 100644
--- a/drivers/hv/channel_mgmt.c
+++ b/drivers/hv/channel_mgmt.c
@@ -275,6 +275,13 @@ static void vmbus_onoffer(struct vmbus_channel_message_header *hdr)
275 return; 275 return;
276 } 276 }
277 277
278 /*
279 * By default we setup state to enable batched
280 * reading. A specific service can choose to
281 * disable this prior to opening the channel.
282 */
283 newchannel->batched_reading = true;
284
278 memcpy(&newchannel->offermsg, offer, 285 memcpy(&newchannel->offermsg, offer,
279 sizeof(struct vmbus_channel_offer_channel)); 286 sizeof(struct vmbus_channel_offer_channel));
280 newchannel->monitor_grp = (u8)offer->monitorid / 32; 287 newchannel->monitor_grp = (u8)offer->monitorid / 32;