Browse Source

[ipoib] Increase number of transmit work queue entries

Avoid running out of transmit work queue entries under heavy load.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 8 years ago
parent
commit
9939b704f1
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/drivers/net/ipoib.c

+ 2
- 2
src/drivers/net/ipoib.c View File

@@ -65,13 +65,13 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
65 65
 			  "Missing REMAC for IPv4 packet (ARP sent)" )
66 66
 
67 67
 /** Number of IPoIB send work queue entries */
68
-#define IPOIB_NUM_SEND_WQES 2
68
+#define IPOIB_NUM_SEND_WQES 8
69 69
 
70 70
 /** Number of IPoIB receive work queue entries */
71 71
 #define IPOIB_NUM_RECV_WQES 4
72 72
 
73 73
 /** Number of IPoIB completion entries */
74
-#define IPOIB_NUM_CQES 8
74
+#define IPOIB_NUM_CQES 16
75 75
 
76 76
 /** An IPoIB broadcast address */
77 77
 struct ipoib_broadcast {

Loading…
Cancel
Save