]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[ipoib] Increase number of transmit work queue entries
authorMichael Brown <mcb30@ipxe.org>
Tue, 8 Mar 2016 17:24:17 +0000 (17:24 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 8 Mar 2016 17:44:28 +0000 (17:44 +0000)
Avoid running out of transmit work queue entries under heavy load.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/ipoib.c

index 4b85eda316a30a66b6fd005f1808495683b2c9a4..4106c208c07b8288df68711a6aa708579917d004 100644 (file)
@@ -65,13 +65,13 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
                          "Missing REMAC for IPv4 packet (ARP sent)" )
 
 /** Number of IPoIB send work queue entries */
-#define IPOIB_NUM_SEND_WQES 2
+#define IPOIB_NUM_SEND_WQES 8
 
 /** Number of IPoIB receive work queue entries */
 #define IPOIB_NUM_RECV_WQES 4
 
 /** Number of IPoIB completion entries */
-#define IPOIB_NUM_CQES 8
+#define IPOIB_NUM_CQES 16
 
 /** An IPoIB broadcast address */
 struct ipoib_broadcast {