mirror of https://github.com/ipxe/ipxe.git
[hyperv] Receive all VMBus messages in a poll
Allow for elision of transmitted TCP ACKs by handling all received VMBus messages in each network device poll operation. Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/33/head
parent
67291465ea
commit
4e6821662c
|
@ -435,9 +435,11 @@ static struct vmbus_channel_operations netvsc_channel_operations = {
|
|||
*/
|
||||
static void netvsc_poll ( struct rndis_device *rndis ) {
|
||||
struct netvsc_device *netvsc = rndis->priv;
|
||||
struct vmbus_device *vmdev = netvsc->vmdev;
|
||||
|
||||
/* Poll VMBus device */
|
||||
vmbus_poll ( netvsc->vmdev );
|
||||
while ( vmbus_has_data ( vmdev ) )
|
||||
vmbus_poll ( vmdev );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue