From a69c9953acea292f59c4396c31bc6d44c9dc78b2 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 20 Dec 2014 12:41:42 +0000 Subject: [PATCH] [hyperv] Increase TX ring size Empirical observation suggests that 32 is a sensible size to minimise the number of deferred packet transmissions without overflowing the VMBus transmit ring buffer. Signed-off-by: Michael Brown --- src/drivers/net/netvsc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/drivers/net/netvsc.h b/src/drivers/net/netvsc.h index 8375194d..277e08e3 100644 --- a/src/drivers/net/netvsc.h +++ b/src/drivers/net/netvsc.h @@ -24,7 +24,7 @@ FILE_LICENCE ( GPL2_OR_LATER ); * must be sufficiently small to guarantee that we never run out of * space in the VMBus outbound ring buffer. */ -#define NETVSC_TX_NUM_DESC 8 +#define NETVSC_TX_NUM_DESC 32 /** RX data buffer page set ID *