]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[hyperv] Increase TX ring size
authorMichael Brown <mcb30@ipxe.org>
Sat, 20 Dec 2014 12:41:42 +0000 (12:41 +0000)
committerMichael Brown <mcb30@ipxe.org>
Sat, 20 Dec 2014 12:41:42 +0000 (12:41 +0000)
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 <mcb30@ipxe.org>
src/drivers/net/netvsc.h

index 8375194d91d5fc8fba85cdc12b74393b91a20fad..277e08e311dac10048cbdbe18a4b08a298d7a5aa 100644 (file)
@@ -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
  *