Explorar el Código

[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>
tags/v1.20.1
Michael Brown hace 9 años
padre
commit
a69c9953ac
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      src/drivers/net/netvsc.h

+ 1
- 1
src/drivers/net/netvsc.h Ver fichero

@@ -24,7 +24,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
24 24
  * must be sufficiently small to guarantee that we never run out of
25 25
  * space in the VMBus outbound ring buffer.
26 26
  */
27
-#define NETVSC_TX_NUM_DESC 8
27
+#define NETVSC_TX_NUM_DESC 32
28 28
 
29 29
 /** RX data buffer page set ID
30 30
  *

Loading…
Cancelar
Guardar