summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/netvsc.h
diff options
context:
space:
mode:
authorMichael Brown2014-12-20 13:41:42 +0100
committerMichael Brown2014-12-20 13:41:42 +0100
commita69c9953acea292f59c4396c31bc6d44c9dc78b2 (patch)
tree5a96e5e551e2717710c832d2c424590119773e97 /src/drivers/net/netvsc.h
parent[hyperv] Receive all VMBus messages in a poll (diff)
downloadipxe-a69c9953acea292f59c4396c31bc6d44c9dc78b2.tar.gz
ipxe-a69c9953acea292f59c4396c31bc6d44c9dc78b2.tar.xz
ipxe-a69c9953acea292f59c4396c31bc6d44c9dc78b2.zip
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net/netvsc.h')
-rw-r--r--src/drivers/net/netvsc.h2
1 files changed, 1 insertions, 1 deletions
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
*