Browse Source

[forcedeth] Increase TX ring size to prevent dropped packets

Commit 947976d ("[netdevice] Do not force a poll on net_tx()")
requires network devices to have TX rings that are sufficiently large
to allow a transmitted response to all packets received during a
single poll.

Reported-by: Robin Smidsrød <robin@smidsrod.no>
Tested-by: Robin Smidsrød <robin@smidsrod.no>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 11 years ago
parent
commit
6586e03fba
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/drivers/net/forcedeth.h

+ 1
- 1
src/drivers/net/forcedeth.h View File

@@ -55,7 +55,7 @@ struct ring_desc_ex {
55 55
 #define DESC_VER_3	3
56 56
 
57 57
 #define RX_RING_SIZE		16
58
-#define TX_RING_SIZE		16
58
+#define TX_RING_SIZE		32
59 59
 #define RXTX_RING_SIZE		( ( RX_RING_SIZE ) + ( TX_RING_SIZE ) )
60 60
 #define RX_RING_MIN		128
61 61
 #define TX_RING_MIN		64

Loading…
Cancel
Save