ソースを参照

[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
  * must be sufficiently small to guarantee that we never run out of
24
  * must be sufficiently small to guarantee that we never run out of
25
  * space in the VMBus outbound ring buffer.
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
 /** RX data buffer page set ID
29
 /** RX data buffer page set ID
30
  *
30
  *

読み込み中…
キャンセル
保存