From: Michael Brown Date: Sat, 20 Dec 2014 12:41:42 +0000 (+0000) Subject: [hyperv] Increase TX ring size X-Git-Tag: v1.20.1~1014 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a69c9953acea292f59c4396c31bc6d44c9dc78b2;p=thirdparty%2Fipxe.git [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 --- diff --git a/src/drivers/net/netvsc.h b/src/drivers/net/netvsc.h index 8375194d9..277e08e31 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 *