Skip to content

Commit

Permalink
[hyperv] Increase TX ring size
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
mcb30 committed Dec 20, 2014
1 parent 4e68216 commit a69c995
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/net/netvsc.h
Expand Up @@ -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
*
Expand Down

0 comments on commit a69c995

Please sign in to comment.