瀏覽代碼

[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 9 年之前
父節點
當前提交
a69c9953ac
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/drivers/net/netvsc.h

+ 1
- 1
src/drivers/net/netvsc.h 查看文件

@@ -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…
取消
儲存